首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::get_terminate

Defined in header <exception>

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_handler

the type of the function called by std::terminate (typedef)

set_terminate

changes the function to be called by std::terminate (function)

代码语言:txt
复制
 © cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券