__uncaught_exception

Indicates whether one or more exceptions have been thrown, but have not yet been handled by the corresponding catch block of a try-catch statement.

bool __uncaught_exception(
   );

Return Value

true from the time an exception is thrown in a try block until the matching catch block is initialized; otherwise, false.

Requirements

Routine

Required header

__uncaught_exception

eh.h

See Also

Reference

try, throw, and catch Statements (C++)