This topic has not yet been rated - Rate this topic

nothrow (<new>)

Provides an object to be used as an argument for the nothrow versions of new and delete.

extern const std::nothrow_t nothrow;

The object is used as a function argument to match the parameter type std::nothrow_t.

See operator new and operator new[] for examples of how std::nothrow_t is used as a function parameter.

Header: <new>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.