tmp/tmptrizx6q8/{from.md → to.md}
RENAMED
|
@@ -3,12 +3,12 @@
|
|
| 3 |
The *point of declaration* for a name is immediately after its complete
|
| 4 |
declarator (Clause [[dcl.decl]]) and before its *initializer* (if any),
|
| 5 |
except as noted below.
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
-
|
| 9 |
-
{
|
| 10 |
```
|
| 11 |
|
| 12 |
Here the second `x` is initialized with its own (indeterminate) value.
|
| 13 |
|
| 14 |
a name from an outer scope remains visible up to the point of
|
|
@@ -28,10 +28,14 @@ The point of declaration for an enumeration is immediately after the
|
|
| 28 |
*identifier* (if any) in either its *enum-specifier* ([[dcl.enum]]) or
|
| 29 |
its first *opaque-enum-declaration* ([[dcl.enum]]), whichever comes
|
| 30 |
first. The point of declaration of an alias or alias template
|
| 31 |
immediately follows the *type-id* to which the alias refers.
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
The point of declaration for an enumerator is immediately after its
|
| 34 |
*enumerator-definition*.
|
| 35 |
|
| 36 |
``` cpp
|
| 37 |
const int x = 12;
|
|
|
|
| 3 |
The *point of declaration* for a name is immediately after its complete
|
| 4 |
declarator (Clause [[dcl.decl]]) and before its *initializer* (if any),
|
| 5 |
except as noted below.
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
+
unsigned char x = 12;
|
| 9 |
+
{ unsigned char x = x; }
|
| 10 |
```
|
| 11 |
|
| 12 |
Here the second `x` is initialized with its own (indeterminate) value.
|
| 13 |
|
| 14 |
a name from an outer scope remains visible up to the point of
|
|
|
|
| 28 |
*identifier* (if any) in either its *enum-specifier* ([[dcl.enum]]) or
|
| 29 |
its first *opaque-enum-declaration* ([[dcl.enum]]), whichever comes
|
| 30 |
first. The point of declaration of an alias or alias template
|
| 31 |
immediately follows the *type-id* to which the alias refers.
|
| 32 |
|
| 33 |
+
The point of declaration of a *using-declaration* that does not name a
|
| 34 |
+
constructor is immediately after the *using-declaration* (
|
| 35 |
+
[[namespace.udecl]]).
|
| 36 |
+
|
| 37 |
The point of declaration for an enumerator is immediately after its
|
| 38 |
*enumerator-definition*.
|
| 39 |
|
| 40 |
``` cpp
|
| 41 |
const int x = 12;
|