File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 5042
5042
\pnum
5043
5043
\indextext {\idxcode {noexcept}}%
5044
5044
\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 }.
5049
5050
\begin {bnf }
5050
5051
\nontermdef {noexcept-expression}\br
5051
5052
\keyword {noexcept} \terminal {(} expression \terminal {)}
5061
5062
\pnum
5062
5063
If the operand is a prvalue,
5063
5064
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 }.
5067
5065
\indextext {expression!unary|)}
5068
5066
5069
5067
\rSec 3[expr.new]{New}
You can’t perform that action at this time.
0 commit comments