tmp/tmpcnxfahza/{from.md → to.md}
RENAMED
|
@@ -1,17 +1,19 @@
|
|
| 1 |
-
### `noexcept` operator <a id="expr.unary.noexcept">[[expr.unary.noexcept]]</a>
|
| 2 |
|
| 3 |
The `noexcept` operator determines whether the evaluation of its
|
| 4 |
-
operand, which is an unevaluated operand
|
| 5 |
-
|
| 6 |
|
| 7 |
``` bnf
|
| 8 |
noexcept-expression:
|
| 9 |
-
|
| 10 |
```
|
| 11 |
|
| 12 |
-
The result of the `noexcept` operator is a
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
|
| 15 |
The result of the `noexcept` operator is `true` unless the *expression*
|
| 16 |
-
is potentially-throwing
|
| 17 |
|
|
|
|
| 1 |
+
#### `noexcept` operator <a id="expr.unary.noexcept">[[expr.unary.noexcept]]</a>
|
| 2 |
|
| 3 |
The `noexcept` operator determines whether the evaluation of its
|
| 4 |
+
operand, which is an unevaluated operand [[expr.prop]], can throw an
|
| 5 |
+
exception [[except.throw]].
|
| 6 |
|
| 7 |
``` bnf
|
| 8 |
noexcept-expression:
|
| 9 |
+
noexcept '(' expression ')'
|
| 10 |
```
|
| 11 |
|
| 12 |
+
The result of the `noexcept` operator is a prvalue of type `bool`.
|
| 13 |
+
|
| 14 |
+
[*Note 1*: A *noexcept-expression* is an integral constant expression
|
| 15 |
+
[[expr.const]]. — *end note*]
|
| 16 |
|
| 17 |
The result of the `noexcept` operator is `true` unless the *expression*
|
| 18 |
+
is potentially-throwing [[except.spec]].
|
| 19 |
|