mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-04 03:32:27 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
14
third_party/libcxx/__utility/in_place.h
vendored
14
third_party/libcxx/__utility/in_place.h
vendored
|
@ -21,7 +21,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
|||
|
||||
#if _LIBCPP_STD_VER >= 17
|
||||
|
||||
struct _LIBCPP_TYPE_VIS in_place_t {
|
||||
struct _LIBCPP_EXPORTED_FROM_ABI in_place_t {
|
||||
explicit in_place_t() = default;
|
||||
};
|
||||
inline constexpr in_place_t in_place{};
|
||||
|
@ -40,14 +40,18 @@ struct _LIBCPP_TEMPLATE_VIS in_place_index_t {
|
|||
template <size_t _Idx>
|
||||
inline constexpr in_place_index_t<_Idx> in_place_index{};
|
||||
|
||||
template <class _Tp> struct __is_inplace_type_imp : false_type {};
|
||||
template <class _Tp> struct __is_inplace_type_imp<in_place_type_t<_Tp>> : true_type {};
|
||||
template <class _Tp>
|
||||
struct __is_inplace_type_imp : false_type {};
|
||||
template <class _Tp>
|
||||
struct __is_inplace_type_imp<in_place_type_t<_Tp>> : true_type {};
|
||||
|
||||
template <class _Tp>
|
||||
using __is_inplace_type = __is_inplace_type_imp<__remove_cvref_t<_Tp>>;
|
||||
|
||||
template <class _Tp> struct __is_inplace_index_imp : false_type {};
|
||||
template <size_t _Idx> struct __is_inplace_index_imp<in_place_index_t<_Idx>> : true_type {};
|
||||
template <class _Tp>
|
||||
struct __is_inplace_index_imp : false_type {};
|
||||
template <size_t _Idx>
|
||||
struct __is_inplace_index_imp<in_place_index_t<_Idx>> : true_type {};
|
||||
|
||||
template <class _Tp>
|
||||
using __is_inplace_index = __is_inplace_index_imp<__remove_cvref_t<_Tp>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue