mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-06 06:31:02 +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
12
third_party/libcxx/__concepts/arithmetic.h
vendored
12
third_party/libcxx/__concepts/arithmetic.h
vendored
|
@ -26,25 +26,29 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
|||
|
||||
// [concepts.arithmetic], arithmetic concepts
|
||||
|
||||
template<class _Tp>
|
||||
template <class _Tp>
|
||||
concept integral = is_integral_v<_Tp>;
|
||||
|
||||
template<class _Tp>
|
||||
template <class _Tp>
|
||||
concept signed_integral = integral<_Tp> && is_signed_v<_Tp>;
|
||||
|
||||
template<class _Tp>
|
||||
template <class _Tp>
|
||||
concept unsigned_integral = integral<_Tp> && !signed_integral<_Tp>;
|
||||
|
||||
template<class _Tp>
|
||||
template <class _Tp>
|
||||
concept floating_point = is_floating_point_v<_Tp>;
|
||||
|
||||
// Concept helpers for the internal type traits for the fundamental types.
|
||||
|
||||
template <class _Tp>
|
||||
concept __libcpp_unsigned_integer = __libcpp_is_unsigned_integer<_Tp>::value;
|
||||
|
||||
template <class _Tp>
|
||||
concept __libcpp_signed_integer = __libcpp_is_signed_integer<_Tp>::value;
|
||||
|
||||
template <class _Tp>
|
||||
concept __libcpp_integer = __libcpp_unsigned_integer<_Tp> || __libcpp_signed_integer<_Tp>;
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 20
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue