std::get_pointer_safety

From cppreference.com
< cpp‎ | memory
 
 
 
Dynamic memory management
Uninitialized storage
(C++17)
(deprecated since c++17)
(deprecated since c++17)
(deprecated since c++17)
Garbage collection support
get_pointer_safety
(C++11)
Miscellaneous
(C++11)
(C++11)
C Library
Low level memory management
 
Defined in header <memory>
std::pointer_safety get_pointer_safety();
(since C++11)

Obtains the implementation-defined pointer safety model, which is a value of type std::pointer_safety.

Parameters

(none)

Return value

The pointer safety used by this implementation.

Exceptions

noexcept specification:  
noexcept
  

See also

lists pointer safety models
(class)