[expr.unary.noexcept] (original) (raw)
7 Expressions [expr]
7.6 Compound expressions [expr.compound]
7.6.2 Unary expressions [expr.unary]
7.6.2.7 noexcept operator [expr.unary.noexcept]
noexcept-expression:
noexcept ( expression )
The operand of the noexcept operator is an unevaluated operand ([expr.context]).
If the operand is a prvalue, the temporary materialization conversion ([conv.rval]) is applied.
The result of the noexcept operator is a prvalue of type bool.
The result is false if the full-expression of the operand is potentially-throwing ([except.spec]), andtrue otherwise.
[Note 1:
A noexcept-expressionis an integral constant expression ([expr.const]).
— _end note_]