Edit

Share via

Facebook x.com LinkedIn Email

__uncaught_exception

Indicates whether one or more exceptions have been thrown, but haven't 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.

Requirements

Routine Required header
__uncaught_exception <eh.h>

See also

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


  • Last updated on 2025年09月22日