MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
exception_ptr类 参考

异常指针类 更多...

#include <exception_ptr.hpp>

struct  ecb
 异常控制块 更多...

Public 成员函数

 exception_ptr (nullptr_t np=nullptr) noexcept
 默认构造函数
 exception_ptr (const exception_ptr &other) noexcept
 拷贝构造函数
 exception_ptr (exception_ptr &&other) noexcept
 移动构造函数
 ~exception_ptr () noexcept
 析构函数
exception_ptroperator= (const exception_ptr &other) noexcept
 拷贝赋值运算符
exception_ptroperator= (exception_ptr &&other) noexcept
 移动赋值运算符
void swap (exception_ptr &other) noexcept
 交换两个异常指针
 operator bool () const noexcept
 布尔转换运算符
bool operator== (const exception_ptr &rhs) const noexcept
 相等比较运算符
bool operator!= (const exception_ptr &rhs) const noexcept
 不等比较运算符
bool operator== (nullptr_t) const noexcept
 与空指针比较相等
bool operator!= (nullptr_t) const noexcept
 与空指针比较不等
MSTL_NODISCARD const std::type_info & exception_type () const noexcept
 获取异常类型信息

详细描述

异常指针类

用于跨函数边界共享异常对象,支持引用计数和异常重新抛出。

在文件 exception_ptr.hpp113 行定义.


该类的文档由以下文件生成: