std::nested_exception::rethrow_nested
来自cppreference.com
< cpp | error | nested exception
工具库
诊断库
std::nested_exception
成员函数 | ||||
nested_exception::rethrow_nested | ||||
[[noreturn]] void rethrow_nested() const; | (C++11 起) (C++26 起为 constexpr) | |
重抛出存储的异常。若无存储的异常(即 nested_ptr() 返回空指针),则调用 std::terminate 。