std:: get_terminate
From cppreference.net
C++
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
定义于头文件
<exception>
|
||
|
std::
terminate_handler
get_terminate
(
)
noexcept
;
|
(C++11 起) | |
返回当前安装的 std::terminate_handler ,该值可能为空指针。
此函数是线程安全的。先前对 std::set_terminate 的调用 同步于 (参见 std::memory_order )此函数。
目录 |
参数
(无)
返回值
当前安装的 std::terminate_handler 。
示例
|
本节内容不完整
原因:缺少示例 |
参见
|
由
std::terminate
调用的函数类型
(typedef) |
|
|
更改由
std::terminate
调用的函数
(function) |