std::nothrow_t
STD:不扔[医]T型
Defined in header | | |
---|---|---|
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。