From Jason Turner

[basic.lookup.qual.general]

Diff to HTML by rtfpessoa

tmp/tmpx6fo8cv3/{from.md → to.md} RENAMED
@@ -1,13 +1,14 @@
1
  #### General <a id="basic.lookup.qual.general">[[basic.lookup.qual.general]]</a>
2
 
3
  Lookup of an *identifier* followed by a `::` scope resolution operator
4
  considers only namespaces, types, and templates whose specializations
5
- are types. If a name, *template-id*, or *decltype-specifier* is followed
6
- by a `::`, it shall designate a namespace, class, enumeration, or
7
- dependent type, and the `::` is never interpreted as a complete
8
- *nested-name-specifier*.
 
9
 
10
  [*Example 1*:
11
 
12
  ``` cpp
13
  class A {
@@ -44,13 +45,13 @@ A *qualified name* is
44
  - the terminal name of
45
  - a *qualified-id*,
46
  - a *using-declarator*,
47
  - a *typename-specifier*,
48
  - a *qualified-namespace-specifier*, or
49
- - a *nested-name-specifier*, *elaborated-type-specifier*, or
50
- *class-or-decltype* that has a *nested-name-specifier*
51
- [[expr.prim.id.qual]].
52
 
53
  The *lookup context* of a member-qualified name is the type of its
54
  associated object expression (considered dependent if the object
55
  expression is type-dependent). The lookup context of any other qualified
56
  name is the type, template, or namespace nominated by the preceding
 
1
  #### General <a id="basic.lookup.qual.general">[[basic.lookup.qual.general]]</a>
2
 
3
  Lookup of an *identifier* followed by a `::` scope resolution operator
4
  considers only namespaces, types, and templates whose specializations
5
+ are types. If a name, *template-id*, *splice-scope-specifier*, or
6
+ *computed-type-specifier* is followed by a `::`, it shall either be a
7
+ dependent *splice-scope-specifier* [[temp.dep.splice]] or it shall
8
+ designate a namespace, class, enumeration, or dependent type, and the
9
+ `::` is never interpreted as a complete *nested-name-specifier*.
10
 
11
  [*Example 1*:
12
 
13
  ``` cpp
14
  class A {
 
45
  - the terminal name of
46
  - a *qualified-id*,
47
  - a *using-declarator*,
48
  - a *typename-specifier*,
49
  - a *qualified-namespace-specifier*, or
50
+ - a *nested-name-specifier*, *reflection-name*,
51
+ *elaborated-type-specifier*, or *class-or-decltype* that has a
52
+ *nested-name-specifier* [[expr.prim.id.qual]].
53
 
54
  The *lookup context* of a member-qualified name is the type of its
55
  associated object expression (considered dependent if the object
56
  expression is type-dependent). The lookup context of any other qualified
57
  name is the type, template, or namespace nominated by the preceding