##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::nothrow_t

From cppreference.com
< cpp‎ | memory‎ | new

Defined in header `<new>` |  |
struct nothrow_t {}; |  |

`std::nothrow_t` is an empty class type used to disambiguate the overloads of throwing and non-throwing allocation functions.

### [edit] See also

nothrow | an object of type `nothrow_t` used to select an non-throwing allocation function (constant) [edit]
operator new operator new[] | allocation functions (function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/new/nothrow_t&oldid=58341"