mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 03:02:28 +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
30
third_party/libcxx/__concepts/common_with.h
vendored
30
third_party/libcxx/__concepts/common_with.h
vendored
|
@ -27,21 +27,23 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
|||
|
||||
// [concept.common]
|
||||
|
||||
template<class _Tp, class _Up>
|
||||
// clang-format off
|
||||
template <class _Tp, class _Up>
|
||||
concept common_with =
|
||||
same_as<common_type_t<_Tp, _Up>, common_type_t<_Up, _Tp>> &&
|
||||
requires {
|
||||
static_cast<common_type_t<_Tp, _Up>>(std::declval<_Tp>());
|
||||
static_cast<common_type_t<_Tp, _Up>>(std::declval<_Up>());
|
||||
} &&
|
||||
common_reference_with<
|
||||
add_lvalue_reference_t<const _Tp>,
|
||||
add_lvalue_reference_t<const _Up>> &&
|
||||
common_reference_with<
|
||||
add_lvalue_reference_t<common_type_t<_Tp, _Up>>,
|
||||
common_reference_t<
|
||||
add_lvalue_reference_t<const _Tp>,
|
||||
add_lvalue_reference_t<const _Up>>>;
|
||||
same_as<common_type_t<_Tp, _Up>, common_type_t<_Up, _Tp>> &&
|
||||
requires {
|
||||
static_cast<common_type_t<_Tp, _Up>>(std::declval<_Tp>());
|
||||
static_cast<common_type_t<_Tp, _Up>>(std::declval<_Up>());
|
||||
} &&
|
||||
common_reference_with<
|
||||
add_lvalue_reference_t<const _Tp>,
|
||||
add_lvalue_reference_t<const _Up>> &&
|
||||
common_reference_with<
|
||||
add_lvalue_reference_t<common_type_t<_Tp, _Up>>,
|
||||
common_reference_t<
|
||||
add_lvalue_reference_t<const _Tp>,
|
||||
add_lvalue_reference_t<const _Up>>>;
|
||||
// clang-format on
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 20
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue