public member function
<exception>

std::nested_exception::rethrow_nested

[[noreturn]] void rethrow_nested() const;
Rethrow nested exception
Throws the nested exception.

If the nested exception is a null exception_ptr, the function calls terminate instead.

Parameters

none

Return Value

none (the function never returns).

Exception safety

Throws an exception.

If the nested exception is a null exception_ptr, it calls terminate.


See also