名稱空間
變體
操作

std::nested_exception::operator=

來自 cppreference.com
< cpp‎ | 錯誤‎ | 巢狀異常
 
 
 
 
 
nested_exception& operator=( const nested_exception& other ) noexcept = default;
(C++11 起)
(C++26 起為 constexpr)

other 中儲存的異常替換儲存的異常。

[編輯] 引數

其他 - 用於替換內容的巢狀異常

[編輯] 返回值

*this