|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
MSTL异常指针实现 更多...
#include "MSTL/core/async/atomic.hpp"#include "MSTL/core/memory/unique_ptr.hpp"#include <typeinfo>类 | |
| class | exception_wrapper |
| 异常包装器基类 更多... | |
| class | typed_exception_wrapper< Ex > |
| 类型化异常包装器模板类 更多... | |
| class | exception_ptr |
| 异常指针类 更多... | |
| struct | exception_ptr::ecb |
| 异常控制块 更多... | |
函数 | |
| template<typename Ex> | |
| exception_ptr | make_exception_ptr (Ex ex) |
| 创建异常指针 | |
| exception_ptr MSTL_API | current_exception () |
| 获取当前异常 | |
| void MSTL_API | rethrow_exception (const exception_ptr &p) |
| 重新抛出异常 | |