std::get_terminate
来自cppreference.com
诊断库
|
|
在标头
<exception>
定义
|
||
std::terminate_handler
get_terminate()
noexcept;
|
(C++11 起) | |
返回当前安装的 std::terminate_handler ,它可以是空指针。
此函数是线程安全的。先前对 std::set_terminate 的调用同步于(见 std::memory_order )此函数。 |
(C++11 起) |
参数
(无)
返回值
当前安装的 std::terminate_handler.
参阅
std::terminate
所调用的函数类型 (typedef) |
|
更改将被 std::terminate
调用的函数 (函数) |