名稱空間
變體
操作

std::nested_exception::rethrow_nested

來自 cppreference.com
 
 
 
 
 
[[noreturn]] void rethrow_nested() const;
(C++11 起)
(C++26 起為 constexpr)

重新丟擲儲存的異常。如果沒有儲存的異常(即 nested_ptr() 返回空指標),則呼叫 std::terminate

[編輯] 引數

(無)

[編輯] 返回值

(無)