Files
cppdraft_translate/cppdraft/uncaught/exceptions.md
2025-10-25 03:02:53 +03:00

917 B
Raw Blame History

[uncaught.exceptions]

17 Language support library [support]

17.9 Exception handling [support.exception]

17.9.6 uncaught_exceptions [uncaught.exceptions]

🔗

constexpr int uncaught_exceptions() noexcept;

1

#

Returns: The number of uncaught exceptions ([except.throw]) in the current thread.

2

#

Remarks: When uncaught_exceptions() > 0, throwing an exception can result in a call of the functionstd::terminate.