File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1556
1556
\begin {note }
1557
1557
A \grammarterm {using-directive} in the target scope is ignored
1558
1558
if it refers to a namespace not contained by that scope.
1559
- \ref {basic.lookup.elab } describes how name lookup proceeds
1560
- in an \grammarterm {elaborated-type-specifier}.
1561
1559
\end {note }
1562
1560
1563
1561
\pnum
1564
1562
\begin {note }
1563
+ \ref {basic.lookup.elab } describes how name lookup proceeds
1564
+ in an \grammarterm {elaborated-type-specifier}.
1565
1565
An \grammarterm {elaborated-type-specifier} can be used to refer to
1566
1566
a previously declared \grammarterm {class-name} or \grammarterm {enum-name}
1567
1567
even if the name has been hidden by a non-type declaration.
1568
1568
\end {note }
1569
+
1570
+ \pnum
1569
1571
If the \grammarterm {identifier} or \grammarterm {simple-template-id}
1572
+ in an \grammarterm {elaborated-type-specifier}
1570
1573
resolves to a \grammarterm {class-name} or
1571
1574
\grammarterm {enum-name}, the \grammarterm {elaborated-type-specifier}
1572
1575
introduces it into the declaration the same way a
1586
1589
1587
1590
\pnum
1588
1591
The \grammarterm {class-key} or \keyword {enum} keyword
1589
- present in the
1592
+ present in an
1590
1593
\grammarterm {elaborated-type-specifier} shall agree in kind with the
1591
1594
declaration to which the name in the
1592
1595
\grammarterm {elaborated-type-specifier} refers. This rule also applies to
You can’t perform that action at this time.
0 commit comments