|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
异常指针类 更多...
#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_ptr & | operator= (const exception_ptr &other) noexcept |
| 拷贝赋值运算符 | |
| exception_ptr & | operator= (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 |
| 获取异常类型信息 | |