异常指针类
更多...
#include <exception_ptr.hpp>
异常指针类
用于跨函数边界共享异常对象,支持引用计数和异常重新抛出。
在文件 exception_ptr.hpp 第 109 行定义.
◆ exception_ptr() [1/3]
| exception_ptr::exception_ptr |
( |
nullptr_t | np = nullptr | ) |
|
|
inlinenoexcept |
◆ exception_ptr() [2/3]
◆ exception_ptr() [3/3]
◆ ~exception_ptr()
| exception_ptr::~exception_ptr |
( |
| ) |
|
|
inlinenoexcept |
◆ exception_type()
| NEFORCE_NODISCARD const std::type_info & exception_ptr::exception_type |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator bool()
| exception_ptr::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
◆ operator!=() [1/2]
| bool exception_ptr::operator!= |
( |
const exception_ptr & | rhs | ) |
const |
|
inlinenoexcept |
◆ operator!=() [2/2]
| bool exception_ptr::operator!= |
( |
nullptr_t | | ) |
const |
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==() [1/2]
| bool exception_ptr::operator== |
( |
const exception_ptr & | rhs | ) |
const |
|
inlinenoexcept |
◆ operator==() [2/2]
| bool exception_ptr::operator== |
( |
nullptr_t | | ) |
const |
|
inlinenoexcept |
◆ swap()
该类的文档由以下文件生成: