Share via


__uncaught_exception

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __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.

Syntax

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.

Remarks

Requirements

Routine Required header
__uncaught_exception eh.h

See Also

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