mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 11:12: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
41
third_party/libcxx/bit
vendored
41
third_party/libcxx/bit
vendored
|
@ -34,9 +34,9 @@ namespace std {
|
|||
|
||||
// [bit.rotate], rotating
|
||||
template<class T>
|
||||
constexpr T rotl(T x, unsigned int s) noexcept; // C++20
|
||||
constexpr T rotl(T x, int s) noexcept; // C++20
|
||||
template<class T>
|
||||
constexpr T rotr(T x, unsigned int s) noexcept; // C++20
|
||||
constexpr T rotr(T x, int s) noexcept; // C++20
|
||||
|
||||
// [bit.count], counting
|
||||
template<class T>
|
||||
|
@ -61,27 +61,36 @@ namespace std {
|
|||
|
||||
*/
|
||||
|
||||
#include <__assert> // all public C++ headers provide the assertion handler
|
||||
#include <__bit/bit_cast.h>
|
||||
#include <__bit/bit_ceil.h>
|
||||
#include <__bit/bit_floor.h>
|
||||
#include <__bit/bit_log2.h>
|
||||
#include <__bit/bit_width.h>
|
||||
#include <__bit/blsr.h>
|
||||
#include <__bit/byteswap.h>
|
||||
#include <__bit/countl.h>
|
||||
#include <__bit/countr.h>
|
||||
#include <__bit/endian.h>
|
||||
#include <__bit/has_single_bit.h>
|
||||
#include <__bit/popcount.h>
|
||||
#include <__bit/rotate.h>
|
||||
#include <__config>
|
||||
|
||||
#if _LIBCPP_STD_VER >= 20
|
||||
# include <__bit/bit_cast.h>
|
||||
# include <__bit/bit_ceil.h>
|
||||
# include <__bit/bit_floor.h>
|
||||
# include <__bit/bit_log2.h>
|
||||
# include <__bit/bit_width.h>
|
||||
# include <__bit/countl.h>
|
||||
# include <__bit/countr.h>
|
||||
# include <__bit/endian.h>
|
||||
# include <__bit/has_single_bit.h>
|
||||
# include <__bit/popcount.h>
|
||||
# include <__bit/rotate.h>
|
||||
#endif
|
||||
|
||||
#if _LIBCPP_STD_VER >= 23
|
||||
# include <__bit/byteswap.h>
|
||||
#endif
|
||||
|
||||
#include <version>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 17
|
||||
# include <cstdint>
|
||||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <cstdlib>
|
||||
# include <iosfwd>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue