uncaught_exception

Determines an uncaught exception

  bool uncaught_exception();
  

Throwing an exception while uncaught_exception is true can result in a call of terminate.

Returns true if an exception is uncaught.