From Jason Turner

[namespace.alias]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp26x20r8r/{from.md → to.md} +3 -20
tmp/tmp26x20r8r/{from.md → to.md} RENAMED
@@ -16,30 +16,13 @@ namespace-alias-definition:
16
  ``` bnf
17
  qualified-namespace-specifier:
18
  nested-name-specifierₒₚₜ namespace-name
19
  ```
20
 
21
- The *identifier* in a *namespace-alias-definition* is a synonym for the
22
- name of the namespace denoted by the *qualified-namespace-specifier* and
23
- becomes a *namespace-alias*.
24
 
25
  [*Note 1*: When looking up a *namespace-name* in a
26
  *namespace-alias-definition*, only namespace names are considered, see 
27
  [[basic.lookup.udir]]. — *end note*]
28
 
29
- In a declarative region, a *namespace-alias-definition* can be used to
30
- redefine a *namespace-alias* declared in that declarative region to
31
- refer only to the namespace to which it already refers.
32
-
33
- [*Example 1*:
34
-
35
- The following declarations are well-formed:
36
-
37
- ``` cpp
38
- namespace Company_with_very_long_name { ... }
39
- namespace CWVLN = Company_with_very_long_name;
40
- namespace CWVLN = Company_with_very_long_name; // OK: duplicate
41
- namespace CWVLN = CWVLN;
42
- ```
43
-
44
- — *end example*]
45
-
 
16
  ``` bnf
17
  qualified-namespace-specifier:
18
  nested-name-specifierₒₚₜ namespace-name
19
  ```
20
 
21
+ The *identifier* in a *namespace-alias-definition* becomes a
22
+ *namespace-alias* and denotes the namespace denoted by the
23
+ *qualified-namespace-specifier*.
24
 
25
  [*Note 1*: When looking up a *namespace-name* in a
26
  *namespace-alias-definition*, only namespace names are considered, see 
27
  [[basic.lookup.udir]]. — *end note*]
28