在线文档教程
C++
应用 | Utilities

std::get_terminate

STD:得到[医]终止

Defined in header
std::terminate_handler get_terminate((since C++11)

返回当前安装的std::terminate_handler,它可能是空指针。

This function is thread-safe. Prior call to std::set_terminate synchronizes-with (see std::memory_order) this function.(since C++11)

参数

%280%29

返回值

当前安装的std::terminate_handler...

例外

noexcept规格:

noexcept

另见

terminate_handlerthe type of the function called by std::terminate (typedef)
set_terminatechanges the function to be called by std::terminate (function)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/Error/GET[医]终止