44#ifndef _GLIBCXX_MEMORY
45#define _GLIBCXX_MEMORY 1
47#pragma GCC system_header
72#if __cplusplus >= 201103L
75# include <bits/uses_allocator.h>
85#if __cplusplus < 201103L || _GLIBCXX_USE_DEPRECATED
89#if __cplusplus > 201703L
94#if __cplusplus > 202002L
98#define __glibcxx_want_addressof_constexpr
99#define __glibcxx_want_allocator_traits_is_always_equal
100#define __glibcxx_want_assume_aligned
101#define __glibcxx_want_atomic_shared_ptr
102#define __glibcxx_want_atomic_value_initialization
103#define __glibcxx_want_constexpr_dynamic_alloc
104#define __glibcxx_want_constexpr_memory
105#define __glibcxx_want_enable_shared_from_this
106#define __glibcxx_want_make_unique
107#define __glibcxx_want_out_ptr
108#define __glibcxx_want_parallel_algorithm
109#define __glibcxx_want_ranges
110#define __glibcxx_want_raw_memory_algorithms
111#define __glibcxx_want_shared_ptr_arrays
112#define __glibcxx_want_shared_ptr_weak_type
113#define __glibcxx_want_smart_ptr_for_overwrite
114#define __glibcxx_want_to_address
115#define __glibcxx_want_transparent_operators
118#if __cplusplus >= 201103L && __cplusplus <= 202002L && _GLIBCXX_HOSTED
119namespace std _GLIBCXX_VISIBILITY(default)
121_GLIBCXX_BEGIN_NAMESPACE_VERSION
144template <
typename _Tp>
161_GLIBCXX_END_NAMESPACE_VERSION
165#ifdef __cpp_lib_parallel_algorithm
167# if _PSTL_EXECUTION_POLICIES_DEFINED
169# include <pstl/glue_memory_impl.h>
172# include <pstl/glue_memory_defs.h>
void declare_reachable(void *)
Inform a garbage collector that an object is still in use.
pointer_safety get_pointer_safety() noexcept
The type of pointer safety supported by the implementation.
void undeclare_no_pointers(char *, size_t)
Unregister a range previously registered with declare_no_pointers.
void declare_no_pointers(char *, size_t)
Inform a garbage collector that a region of memory need not be traced.
pointer_safety
Constants representing the different types of pointer safety.
_Tp * undeclare_reachable(_Tp *__p)
Unregister an object previously registered with declare_reachable.
ISO C++ entities toplevel namespace is std.