std::nested_exception::nested_exception

nested_exception() noexcept;
(1) (C++11 起)
nested_exception( const nested_exception& other ) noexcept = default;
(2) (C++11 起)

构造新的 nested_exception 对象。

1) 默认构造函数。存储由调用 std::current_exception() 获得的异常对象于新的 nested_exception 对象。
2) 复制构造函数。以存储于 other 的异常初始化对象。

参数

other - 以之初始化内容的 nested_exception

版本历史

  • (当前 | 先前) 2017年5月17日 (三) 09:23Fruderica讨论 | 贡献. . (669字节) (+669). . (以“{{cpp/error/nested_exception/title|nested_exception}} {{cpp/error/nested_exception/navbar}} {{dcl begin}} {{dcl | num=1 | since=c++11 | nested_exception() noexcept; ...”为内容创建页面)