A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/exception/uncaught_exception/ below:

function

<exception>

std::uncaught_exception
bool uncaught_exception() throw();
bool uncaught_exception() noexcept;

Return exception status

Returns true if an exception has been thrown but the initialization of the exception declaration in the matching handler (including an automatic call to unexpected or terminate) is not yet complete.

Returns false in all other cases, including when unexpected or terminate is explicitly called by the program.

Throwing another exception while this function returns true may result in the termination of the exception handling proccess (i.e., an automatic call to terminate).



Return valuetrue if an exception has been thrown and has not yet been handled by its appropriate catch handler, including stack unwinding.
false otherwise.

Exception safetyNo-throw guarantee: this function never throws exceptions.

See also
terminate
Function handling termination on exception (function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4