7
Expressions
[expr]
7.6
Compound expressions
[expr.compound]
7.6.2
Unary expressions
[expr.unary]
7.6.2.6
noexcept
operator
[expr.unary.noexcept]
1
#
The
noexcept
operator determines whether the evaluation of its operand, which is an unevaluated operand (
[expr.prop]
), can throw an exception (
[except.throw]
)
.
noexcept-expression:
noexcept
(
expression
)
2
#
The result of the
noexcept
operator is a prvalue of type
bool
.
[
Note
:
A
noexcept-expression
is an integral constant expression (
[expr.const]
)
.
—
end note
]
3
#
The result of the
noexcept
operator is
true
unless the
expression
is potentially-throwing (
[except.spec]
)
.