##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::get_pointer_safety

From cppreference.com
< cpp‎ | memory

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.

### [edit] Parameters

(none)

### [edit] Return value

The pointer safety used by this implementation.

### [edit] Exceptions

`noexcept` specification:
noexcept

### [edit] See also

pointer_safety (C++11) | lists pointer safety models (class) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/gc/get_pointer_safety&oldid=63340"