Skip to content

Commit 8cbff23

Browse files
jensmaurerzygoloid
authored andcommitted
[except.uncaught] Remove parentheses when not invoking a function
Fixes NB JP 013 (C++20 DIS)
1 parent 9b4e991 commit 8cbff23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/exceptions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@
10961096
will eventually cause a call to the function
10971097
\tcode{std::terminate}.
10981098

1099-
\rSec2[except.uncaught]{The \tcode{std::uncaught_exceptions()} function}%
1099+
\rSec2[except.uncaught]{The \tcode{std::uncaught_exceptions} function}%
11001100
\indexlibraryglobal{uncaught_exceptions}
11011101

11021102
\pnum
@@ -1110,6 +1110,6 @@
11101110
If an exception is rethrown~(\ref{expr.throw}, \ref{propagation}),
11111111
it is considered uncaught from the point of rethrow
11121112
until the rethrown exception is caught.
1113-
The function \tcode{std::uncaught_exceptions()}\iref{uncaught.exceptions}
1113+
The function \tcode{std::uncaught_exceptions}\iref{uncaught.exceptions}
11141114
returns the number of uncaught exceptions in the current thread.%
11151115
\indextext{exception handling|)}

0 commit comments

Comments
 (0)