nothrow (<new>)
为 新建 和 delete的 nothrow 版本作为参数提供。要使用的对象。
extern const std::nothrow_t nothrow;
备注
对象用作函数参数匹配参数类型 std::nothrow_t。
示例
请参见 new运算符 和 新operator[] 以 std::nothrow_t 如何的示例使用作为函数参数。
要求
标头: <new>
命名空间: std
为 新建 和 delete的 nothrow 版本作为参数提供。要使用的对象。
extern const std::nothrow_t nothrow;
对象用作函数参数匹配参数类型 std::nothrow_t。
请参见 new运算符 和 新operator[] 以 std::nothrow_t 如何的示例使用作为函数参数。
标头: <new>
命名空间: std