std::nothrow_t
Defined in header <new> | ? | ? |
---|---|---|
struct nothrow_t {}; | ? | (until C++17) |
struct nothrow_t { explicit nothrow_t() = default; }; | ? | (since C++17) |
std::nothrow_t
是一个空类类型,用于消除抛出和非抛出的重载的歧义。分配函数...
另见
nothrow | an object of type nothrow_t used to select an non-throwing allocation function (constant) |
---|---|
operator newoperator new[] | allocation functions (function) |
? cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com