libstdc++
|
Enumerations | |
enum class | std::pointer_safety { relaxed , preferred , strict } |
Functions | |
void | std::declare_no_pointers (char *, size_t) |
void | std::declare_reachable (void *) |
pointer_safety | std::get_pointer_safety () noexcept |
void | std::undeclare_no_pointers (char *, size_t) |
template<typename _Tp > | |
_Tp * | std::undeclare_reachable (_Tp *__p) |
Utilities to assist with garbage collection in an implementation that supports strict pointer safety. This implementation only supports relaxed pointer safety and so these functions have no effect.
C++11 20.6.4 [util.dynamic.safety], Pointer safety
|
strong |
Constants representing the different types of pointer safety.
Definition at line 109 of file std/memory.
|
inline |
Inform a garbage collector that a region of memory need not be traced.
Definition at line 122 of file std/memory.
|
inline |
Inform a garbage collector that an object is still in use.
Definition at line 113 of file std/memory.
|
inlinenoexcept |
The type of pointer safety supported by the implementation.
Definition at line 130 of file std/memory.
|
inline |
Unregister a range previously registered with declare_no_pointers.
Definition at line 126 of file std/memory.
|
inline |
Unregister an object previously registered with declare_reachable.
Definition at line 118 of file std/memory.