W3cubDocs

/C++

std::nested_exception::rethrow_nested

[[noreturn]] void rethrow_nested() const;
(since C++11)

Rethrows the stored exception. If there is no stored exceptions (i.e. nested_ptr() returns null pointer), then std::terminate is called.

Parameters

(none).

Return value

(none).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/error/nested_exception/rethrow_nested