mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 19:22: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
17
third_party/libcxx/__compare/compare_three_way.h
vendored
17
third_party/libcxx/__compare/compare_three_way.h
vendored
|
@ -22,16 +22,15 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
|||
|
||||
#if _LIBCPP_STD_VER >= 20
|
||||
|
||||
struct _LIBCPP_TEMPLATE_VIS compare_three_way
|
||||
{
|
||||
template<class _T1, class _T2>
|
||||
requires three_way_comparable_with<_T1, _T2>
|
||||
constexpr _LIBCPP_HIDE_FROM_ABI
|
||||
auto operator()(_T1&& __t, _T2&& __u) const
|
||||
noexcept(noexcept(_VSTD::forward<_T1>(__t) <=> _VSTD::forward<_T2>(__u)))
|
||||
{ return _VSTD::forward<_T1>(__t) <=> _VSTD::forward<_T2>(__u); }
|
||||
struct _LIBCPP_TEMPLATE_VIS compare_three_way {
|
||||
template <class _T1, class _T2>
|
||||
requires three_way_comparable_with<_T1, _T2>
|
||||
constexpr _LIBCPP_HIDE_FROM_ABI auto operator()(_T1&& __t, _T2&& __u) const
|
||||
noexcept(noexcept(std::forward<_T1>(__t) <=> std::forward<_T2>(__u))) {
|
||||
return std::forward<_T1>(__t) <=> std::forward<_T2>(__u);
|
||||
}
|
||||
|
||||
using is_transparent = void;
|
||||
using is_transparent = void;
|
||||
};
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 20
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue