|
89 | 89 | \begin{itemize}
|
90 | 90 | \item
|
91 | 91 | in a \grammarterm{member-declaration} that belongs to the
|
92 |
| -\grammarterm{member-specification} of a class but is not a friend |
| 92 | +\grammarterm{member-specification} of a class or class template |
| 93 | +but is not a friend |
93 | 94 | declaration\iref{class.friend}, the \grammarterm{id-expression} is the
|
94 |
| -injected-class-name\iref{class} of the immediately-enclosing class; |
95 |
| - |
96 |
| -\item |
97 |
| -in a \grammarterm{member-declaration} that belongs to the |
98 |
| -\grammarterm{member-specification} of a class template but is not a friend |
99 |
| -declaration, the \grammarterm{id-expression} is a \grammarterm{class-name} that |
100 |
| -names the current instantiation\iref{temp.dep.type} of the |
101 |
| -immediately-enclosing class template; or |
| 95 | +injected-class-name\iref{class} of the immediately-enclosing entity or |
102 | 96 |
|
103 | 97 | \item
|
104 | 98 | in a declaration at namespace scope or in a friend declaration, the
|
|
1023 | 1017 | \begin{itemize}
|
1024 | 1018 | \item
|
1025 | 1019 | in a \grammarterm{member-declaration} that belongs to the
|
1026 |
| -\grammarterm{member-specification} of a class but is not a friend |
| 1020 | +\grammarterm{member-specification} of a class or class template |
| 1021 | +but is not a friend |
1027 | 1022 | declaration\iref{class.friend}, the \grammarterm{id-expression} is
|
1028 | 1023 | \tcode{\~}\grammarterm{class-name} and the \grammarterm{class-name} is the
|
1029 |
| -injected-class-name\iref{class} of the immediately-enclosing class; |
1030 |
| - |
1031 |
| -\item |
1032 |
| -in a \grammarterm{member-declaration} that belongs to the |
1033 |
| -\grammarterm{member-specification} of a class template but is not a friend |
1034 |
| -declaration, the \grammarterm{id-expression} is |
1035 |
| -\tcode{\~}\grammarterm{class-name} and the \grammarterm{class-name} names the |
1036 |
| -current instantiation\iref{temp.dep.type} of the immediately-enclosing class template; or |
| 1024 | +injected-class-name\iref{class} of the immediately-enclosing entity or |
1037 | 1025 |
|
1038 | 1026 | \item
|
1039 | 1027 | in a declaration at namespace scope or in a friend declaration, the
|
|
0 commit comments