Skip to content

Commit 99fce49

Browse files
committedAug 30, 2023
[expr.unary.noexcept] replace informative wording
1 parent 9a0b5d7 commit 99fce49

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed
 

‎source/expressions.tex

+5-7
Original file line numberDiff line numberDiff line change
@@ -5042,10 +5042,11 @@
50425042
\pnum
50435043
\indextext{\idxcode{noexcept}}%
50445044
\indextext{expression!\idxcode{noexcept}}%
5045-
The \keyword{noexcept} operator determines whether the evaluation of its operand,
5046-
which is an unevaluated operand\iref{term.unevaluated.operand}, can throw an
5047-
exception\iref{except.throw}.
5048-
5045+
The \keyword{noexcept} operator yields \keyword{true}
5046+
unless the full-expression of the operand
5047+
is potentially-throwing\iref{except.spec}.
5048+
The operand of the \keyword{noexcept} operator
5049+
is an unevaluated operand\iref{term.unevaluated.operand}.
50495050
\begin{bnf}
50505051
\nontermdef{noexcept-expression}\br
50515052
\keyword{noexcept} \terminal{(} expression \terminal{)}
@@ -5061,9 +5062,6 @@
50615062
\pnum
50625063
If the operand is a prvalue,
50635064
the temporary materialization conversion\iref{conv.rval} is applied.
5064-
The result of the \keyword{noexcept} operator is \keyword{true}
5065-
unless the full-expression of the operand
5066-
is potentially-throwing\iref{except.spec}.
50675065
\indextext{expression!unary|)}
50685066

50695067
\rSec3[expr.new]{New}

0 commit comments

Comments
 (0)