uncaught_exception


function
<exception>
bool uncaught_exception() throw();

Return exception status

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

Returns false in all other cases, including when entering terminate for any reason other than a explicit call from the program.

Throwing another exception while this function returns true may result in the termination of the exception handling proccess (a call to terminate).

Return value

true if an exception has been thrown and has not yet been caught by its appropriate handler.
false otherwise.

See also