다음을 통해 공유


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;

Remarks

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

Example

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

Requirements

Header: <new>

Namespace: std