nothrow (<new>)

新建delete的 nothrow 版本作为参数提供。要使用的对象。

extern const std::nothrow_t nothrow;

备注

对象用作函数参数匹配参数类型 std::nothrow_t

示例

请参见 new运算符新operator[] 以 std::nothrow_t 如何的示例使用作为函数参数。

要求

标头: <new>

命名空间: std