Namespaces
Variants

std::nested_exception:: rethrow_nested

From cppreference.net
Utilities library
[ [ noreturn ] ] void rethrow_nested ( ) const ;
(C++11 起)
(C++26 起为 constexpr)

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