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
34
third_party/libcxx/memory_resource
vendored
34
third_party/libcxx/memory_resource
vendored
|
@ -22,7 +22,7 @@ namespace std::pmr {
|
|||
bool operator==(const memory_resource& a,
|
||||
const memory_resource& b) noexcept;
|
||||
bool operator!=(const memory_resource& a,
|
||||
const memory_resource& b) noexcept;
|
||||
const memory_resource& b) noexcept; // removed in C++20
|
||||
|
||||
template <class Tp> class polymorphic_allocator;
|
||||
|
||||
|
@ -31,7 +31,7 @@ namespace std::pmr {
|
|||
const polymorphic_allocator<T2>& b) noexcept;
|
||||
template <class T1, class T2>
|
||||
bool operator!=(const polymorphic_allocator<T1>& a,
|
||||
const polymorphic_allocator<T2>& b) noexcept;
|
||||
const polymorphic_allocator<T2>& b) noexcept; // removed in C++20
|
||||
|
||||
// Global memory resources
|
||||
memory_resource* set_default_resource(memory_resource* r) noexcept;
|
||||
|
@ -50,16 +50,34 @@ namespace std::pmr {
|
|||
*/
|
||||
|
||||
#include <__config>
|
||||
#include <__memory_resource/memory_resource.h>
|
||||
#include <__memory_resource/monotonic_buffer_resource.h>
|
||||
#include <__memory_resource/polymorphic_allocator.h>
|
||||
#include <__memory_resource/pool_options.h>
|
||||
#include <__memory_resource/synchronized_pool_resource.h>
|
||||
#include <__memory_resource/unsynchronized_pool_resource.h>
|
||||
|
||||
#if _LIBCPP_STD_VER >= 17
|
||||
# include <__memory_resource/memory_resource.h>
|
||||
# include <__memory_resource/monotonic_buffer_resource.h>
|
||||
# include <__memory_resource/polymorphic_allocator.h>
|
||||
# include <__memory_resource/pool_options.h>
|
||||
# include <__memory_resource/synchronized_pool_resource.h>
|
||||
# include <__memory_resource/unsynchronized_pool_resource.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 <= 14
|
||||
# include <cstddef>
|
||||
# include <cstdint>
|
||||
# include <limits>
|
||||
# include <mutex>
|
||||
# include <new>
|
||||
# include <stdexcept>
|
||||
# include <tuple>
|
||||
#endif
|
||||
|
||||
#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
|
||||
# include <stdexcept>
|
||||
#endif
|
||||
|
||||
#endif /* _LIBCPP_MEMORY_RESOURCE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue