命名空间
变体
操作

std::nested_exception::rethrow_nested

来自 cppreference.cn
 
 
 
 
 
[[noreturn]] void rethrow_nested() const;
(since C++11)
(constexpr since C++26)

重新抛出存储的异常。如果没有存储的异常(即 nested_ptr() 返回空指针),则调用 std::terminate

[edit] 参数

(无)

[edit] 返回值

(无)