std::nothrow_t
| Defined in header <new> | ||
|---|---|---|
| struct nothrow_t {}; | (until C++17) | |
| struct nothrow_t { explicit nothrow_t() = default; }; | (since C++17) | 
std::nothrow_t is an empty class type used to disambiguate the overloads of throwing and non-throwing allocation functions.
See also
| an object of type nothrow_tused to select an non-throwing allocation function(constant) | |
| allocation functions (function) | 
    © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
    http://en.cppreference.com/w/cpp/memory/new/nothrow_t