Namespaces
Variants

std::nested_exception:: operator=

From cppreference.net
Utilities library
nested_exception & operator = ( const nested_exception & other ) noexcept = default ;
(C++11 起)
(C++26 起为 constexpr)

将存储的异常替换为 other 所持有的异常。

参数

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

返回值

* this