File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 1356
1356
class-key \opt {attribute-specifier-seq} \opt {nested-name-specifier} identifier\br
1357
1357
class-key simple-template-id\br
1358
1358
class-key nested-name-specifier \opt {\keyword {template}} simple-template-id\br
1359
- elaborated-enum-specifier
1360
- \end {bnf }
1361
-
1362
- \begin {bnf }
1363
- \nontermdef {elaborated-enum-specifier}\br
1364
1359
\keyword {enum} \opt {nested-name-specifier} identifier
1365
1360
\end {bnf }
1366
1361
7161
7156
7162
7157
\begin {bnf }
7163
7158
\nontermdef {using-enum-declaration}\br
7164
- \terminal {using} elaborated-enum-specifier \terminal {;}
7159
+ \keyword {using} \keyword {enum} using-enum-declarator \terminal {;}
7160
+ \end {bnf }
7161
+
7162
+ \begin {bnf }
7163
+ \nontermdef {using-enum-declarator}\br
7164
+ \opt {nested-name-specifier} identifier\br
7165
+ \opt {nested-name-specifier} simple-template-id
7165
7166
\end {bnf }
7166
7167
7167
7168
\pnum
7168
- The \grammarterm {elaborated-enum-specifier}
7169
- shall not name a dependent type
7170
- and the type shall have a reachable \grammarterm {enum-specifier}.
7169
+ A \grammarterm {using-enum-declarator}
7170
+ names the set of declarations found by
7171
+ lookup\iref {basic.lookup.unqual,basic.lookup.qual }
7172
+ for the \grammarterm {using-enum-declarator}.
7173
+ The \grammarterm {using-enum-declarator}
7174
+ shall designate a non-dependent type
7175
+ with a reachable \grammarterm {enum-specifier}.
7171
7176
7172
7177
\pnum
7173
7178
A \grammarterm {using-enum-declaration}
You can’t perform that action at this time.
0 commit comments