命名空间
变体
操作

std::nested_exception::operator=

来自 cppreference.cn
 
 
 
 
 
nested_exception& operator=( const nested_exception& other ) noexcept = default;
(自 C++11 起)
(constexpr 自 C++26 起)

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

[编辑] 参数

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

[编辑] 返回值

*this