44#ifndef _GLIBCXX_MEMORY
45#define _GLIBCXX_MEMORY 1
47#pragma GCC system_header
69#if __cplusplus >= 201103L
72# include <bits/uses_allocator.h>
76# include <bits/shared_ptr.h>
80#if __cplusplus < 201103L || _GLIBCXX_USE_DEPRECATED
84#if __cplusplus > 201703L
89#if __cplusplus >= 201103L && __cplusplus <= 202002L
90namespace std _GLIBCXX_VISIBILITY(default)
92_GLIBCXX_BEGIN_NAMESPACE_VERSION
115template <
typename _Tp>
132_GLIBCXX_END_NAMESPACE_VERSION
136#if __cplusplus >= 201703L
138# if _PSTL_EXECUTION_POLICIES_DEFINED
140# include <pstl/glue_memory_impl.h>
143# include <pstl/glue_memory_defs.h>
147# define __cpp_lib_parallel_algorithm 201603L
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.