File tree 1 file changed +6
-7
lines changed
1 file changed +6
-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
5049
5046
\begin {bnf }
5050
5047
\nontermdef {noexcept-expression}\br
5051
5048
\keyword {noexcept} \terminal {(} expression \terminal {)}
5052
5049
\end {bnf }
5050
+ has an \grammarterm {expression} \term {operand}
5051
+ which is an unevaluated operand\iref {term.unevaluated.operand }.
5052
+ The \keyword {noexcept} operator yields \keyword {true}
5053
+ unless the full-expression of the operand
5054
+ is potentially-throwing\iref {except.spec }.
5053
5055
5054
5056
\pnum
5055
5057
The result of the \keyword {noexcept} operator is a prvalue of type \keyword {bool}.
5061
5063
\pnum
5062
5064
If the operand is a prvalue,
5063
5065
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
5066
\indextext {expression!unary|)}
5068
5067
5069
5068
\rSec 3[expr.new]{New}
You can’t perform that action at this time.
0 commit comments