std::get_new_handler
STD:得到[医]新[医]处理程序
Defined in header | | |
---|---|---|
std::new_handler get_new_handler( | | (since C++11) |
返回当前安装的新处理程序,它可能是空指针。
This function is thread-safe. Previous call to std::set_new_handler synchronizes-with (see std::memory_order) the subsequent calls to std::get_new_handler. | (since C++11) |
---|
参数
%280%29
返回值
当前安装的新处理程序
,它可能是空指针值。
例外
noexcept
规格:
noexcept
另见
operator newoperator new[] | allocation functions (function) |
---|---|
set_new_handler | registers a new handler (function) |
new_handler | function pointer type of the new handler (typedef) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。