命名空间
变体
操作

std::nested_exception::operator=

来自 cppreference.cn
< cpp‎ | 错误‎ | 嵌套异常
 
 
 
 
 
nested_exception& operator=( const nested_exception& other ) noexcept = default;
(C++11 起)
(C++26 起为 constexpr)

other 中保存的异常替换存储的异常。

[编辑] 参数

其他 - 用于替换内容的嵌套异常

[编辑] 返回值

*this