Namespaces
Variants

std::nested_exception::operator=

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

用other中持有的异常替换存储的异常。

参数

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

返回值

* this