Skip to content

Commit ef56ce8

Browse files
committed
[res.on.exception.handling] Add front matter on exception propagation
1 parent d299b77 commit ef56ce8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

source/lib-intro.tex

+17
Original file line numberDiff line numberDiff line change
@@ -3208,6 +3208,23 @@
32083208
for a non-virtual function
32093209
by adding a non-throwing exception specification.
32103210

3211+
\pnum
3212+
Some functions defined in the \Cpp{} standard library
3213+
are specified to propagate exceptions thrown by a described evaluation.
3214+
Unless stated otherwise,
3215+
exceptions thrown due to evaluating the subexpression
3216+
that implements the described evaluation
3217+
up to the complete evaluation of its enclosing full-expression
3218+
are also propagated.
3219+
\begin{note}
3220+
This includes exceptions thrown as part of
3221+
initializing parameters,
3222+
evaluating default arguments, and
3223+
destroying temporaries
3224+
(including discarded-value expressions)
3225+
\iref{expr.call}.
3226+
\end{note}
3227+
32113228
\rSec3[value.error.codes]{Value of error codes}
32123229

32133230
\pnum

0 commit comments

Comments
 (0)