tmp/tmpp4kc161a/{from.md → to.md}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
| 1 |
## Exception handling <a id="gram.except">[[gram.except]]</a>
|
| 2 |
|
| 3 |
``` bnf
|
| 4 |
try-block:
|
| 5 |
-
|
| 6 |
```
|
| 7 |
|
| 8 |
``` bnf
|
| 9 |
function-try-block:
|
| 10 |
-
|
| 11 |
```
|
| 12 |
|
| 13 |
``` bnf
|
| 14 |
handler-seq:
|
| 15 |
handler handler-seqₒₚₜ
|
| 16 |
```
|
| 17 |
|
| 18 |
``` bnf
|
| 19 |
handler:
|
| 20 |
-
|
| 21 |
```
|
| 22 |
|
| 23 |
``` bnf
|
| 24 |
exception-declaration:
|
| 25 |
attribute-specifier-seqₒₚₜ type-specifier-seq declarator
|
|
@@ -27,12 +27,12 @@ exception-declaration:
|
|
| 27 |
'...'
|
| 28 |
```
|
| 29 |
|
| 30 |
``` bnf
|
| 31 |
noexcept-specifier:
|
| 32 |
-
|
| 33 |
-
|
| 34 |
```
|
| 35 |
|
| 36 |
<!-- Link reference definitions -->
|
| 37 |
[gram.lex]: #gram.lex
|
| 38 |
[gram.basic]: #gram.basic
|
|
|
|
| 1 |
## Exception handling <a id="gram.except">[[gram.except]]</a>
|
| 2 |
|
| 3 |
``` bnf
|
| 4 |
try-block:
|
| 5 |
+
try compound-statement handler-seq
|
| 6 |
```
|
| 7 |
|
| 8 |
``` bnf
|
| 9 |
function-try-block:
|
| 10 |
+
try ctor-initializerₒₚₜ compound-statement handler-seq
|
| 11 |
```
|
| 12 |
|
| 13 |
``` bnf
|
| 14 |
handler-seq:
|
| 15 |
handler handler-seqₒₚₜ
|
| 16 |
```
|
| 17 |
|
| 18 |
``` bnf
|
| 19 |
handler:
|
| 20 |
+
catch '(' exception-declaration ')' compound-statement
|
| 21 |
```
|
| 22 |
|
| 23 |
``` bnf
|
| 24 |
exception-declaration:
|
| 25 |
attribute-specifier-seqₒₚₜ type-specifier-seq declarator
|
|
|
|
| 27 |
'...'
|
| 28 |
```
|
| 29 |
|
| 30 |
``` bnf
|
| 31 |
noexcept-specifier:
|
| 32 |
+
noexcept '(' constant-expression ')'
|
| 33 |
+
noexcept
|
| 34 |
```
|
| 35 |
|
| 36 |
<!-- Link reference definitions -->
|
| 37 |
[gram.lex]: #gram.lex
|
| 38 |
[gram.basic]: #gram.basic
|