tmp/tmpqj19o7bo/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
### Block scope <a id="basic.scope.block">[[basic.scope.block]]</a>
|
| 2 |
|
| 3 |
Each
|
| 4 |
|
| 5 |
-
- selection
|
|
|
|
| 6 |
- substatement of such a statement,
|
| 7 |
- *handler* [[except.pre]], or
|
| 8 |
- compound statement [[stmt.block]] that is not the *compound-statement*
|
| 9 |
of a *handler*
|
| 10 |
|
|
@@ -27,11 +28,12 @@ for (int i = 0; i < 10; i++)
|
|
| 27 |
int j = i; // j = 42
|
| 28 |
```
|
| 29 |
|
| 30 |
— *end example*]
|
| 31 |
|
| 32 |
-
If a declaration
|
|
|
|
| 33 |
|
| 34 |
- *compound-statement* of a *lambda-expression*, *function-body*, or
|
| 35 |
*function-try-block*,
|
| 36 |
- substatement of a selection or iteration statement that is not itself
|
| 37 |
a selection or iteration statement, or
|
|
|
|
| 1 |
### Block scope <a id="basic.scope.block">[[basic.scope.block]]</a>
|
| 2 |
|
| 3 |
Each
|
| 4 |
|
| 5 |
+
- selection, iteration, or expansion statement
|
| 6 |
+
[[stmt.select]], [[stmt.iter]], [[stmt.expand]],
|
| 7 |
- substatement of such a statement,
|
| 8 |
- *handler* [[except.pre]], or
|
| 9 |
- compound statement [[stmt.block]] that is not the *compound-statement*
|
| 10 |
of a *handler*
|
| 11 |
|
|
|
|
| 28 |
int j = i; // j = 42
|
| 29 |
```
|
| 30 |
|
| 31 |
— *end example*]
|
| 32 |
|
| 33 |
+
If a declaration that is not a name-independent declaration and that
|
| 34 |
+
binds a name in the block scope S of a
|
| 35 |
|
| 36 |
- *compound-statement* of a *lambda-expression*, *function-body*, or
|
| 37 |
*function-try-block*,
|
| 38 |
- substatement of a selection or iteration statement that is not itself
|
| 39 |
a selection or iteration statement, or
|