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

MSTL异常指针实现 更多...

#include "MSTL/core/async/atomic.hpp"
#include "MSTL/core/memory/unique_ptr.hpp"
#include <typeinfo>
exception_ptr.hpp 的引用(Include)关系图:

浏览该文件的源代码.

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)
 重新抛出异常

详细描述

MSTL异常指针实现

此文件提供了异常指针的实现,用于跨上下文传递异常。

在文件 exception_ptr.hpp 中定义.