File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 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
50495046\begin {bnf }
50505047\nontermdef {noexcept-expression}\br
50515048 \keyword {noexcept} \terminal {(} expression \terminal {)}
50525049\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 }.
50535055
50545056\pnum
50555057The result of the \keyword {noexcept} operator is a prvalue of type \keyword {bool}.
50615063\pnum
50625064If the operand is a prvalue,
50635065the 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 }.
50675066\indextext {expression!unary|)}
50685067
50695068\rSec 3[expr.new]{New}
You can’t perform that action at this time.
0 commit comments