Skip to content

Commit eb009db

Browse files
committed
[support.exception] Add reference to [depr.uncaught].
[ostream::sentry] Use uncaught_exceptions() instead of deprecated uncaught_exception().
1 parent 1aaa281 commit eb009db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

source/iostreams.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6044,8 +6044,8 @@
60446044
\begin{itemdescr}
60456045
\pnum
60466046
If
6047-
\tcode{((os.flags() \& ios_base::unitbuf) \&\& !uncaught_exception()
6048-
\&\& os.good())}
6047+
\tcode{(os.flags() \& ios_base::unitbuf) \&\& !uncaught_exceptions()
6048+
\&\& os.good()}
60496049
is
60506050
\tcode{true},
60516051
calls

source/support.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,8 +2587,9 @@
25872587
terminate_handler set_terminate(terminate_handler f) noexcept;
25882588
[[noreturn]] void terminate() noexcept;
25892589

2590-
bool uncaught_exception() noexcept;
25912590
int uncaught_exceptions() noexcept;
2591+
// \ref{depr.uncaught}, uncaught_exception (deprecated)
2592+
bool uncaught_exception() noexcept;
25922593

25932594
typedef @\unspec@ exception_ptr;
25942595

0 commit comments

Comments
 (0)