std::nested_exception::nested_exception
来自cppreference.com
| (1) | (C++11 起) (C++26 起为 constexpr) |
|
| (2) | (C++11 起) (C++26 起为 constexpr) |
|
构造新的 nested_exception 对象。
1) 默认构造函数。存储由调用
std::current_exception() 获得的异常对象于新的 nested_exception 对象。2) 复制构造函数。以存储于
other 的异常初始化对象。参数
| other | - | 以之初始化内容的 nested_exception |