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 1348
1348
class-key \opt {attribute-specifier-seq} \opt {nested-name-specifier} identifier\br
1349
1349
class-key simple-template-id\br
1350
1350
class-key nested-name-specifier \opt {\keyword {template}} simple-template-id\br
1351
- elaborated-enum-specifier
1352
- \end {bnf }
1353
-
1354
- \begin {bnf }
1355
- \nontermdef {elaborated-enum-specifier}\br
1356
1351
\keyword {enum} \opt {nested-name-specifier} identifier
1357
1352
\end {bnf }
1358
1353
7102
7097
7103
7098
\begin {bnf }
7104
7099
\nontermdef {using-enum-declaration}\br
7105
- \terminal {using} elaborated-enum-specifier \terminal {;}
7100
+ \terminal {using enum} using-enum-declarator \terminal {;}
7101
+ \end {bnf }
7102
+
7103
+ \begin {bnf }
7104
+ \nontermdef {using-enum-declarator}\br
7105
+ \opt {nested-name-specifier} identifier\br
7106
+ \opt {nested-name-specifier} simple-template-id
7106
7107
\end {bnf }
7107
7108
7108
7109
\pnum
7109
- The \grammarterm {elaborated-enum-specifier}
7110
- shall not name a dependent type
7111
- and the type shall have a reachable \grammarterm {enum-specifier}.
7110
+ A \grammarterm {using-enum-declarator}
7111
+ names the set of declarations found by
7112
+ lookup (\ref {basic.lookup.unqual }, \ref {basic.lookup.qual })
7113
+ for the \grammarterm {using-enum-declarator}.
7114
+ The \grammarterm {using-enum-declarator}
7115
+ shall designate a non-dependent type
7116
+ with a reachable \grammarterm {enum-specifier}.
7112
7117
7113
7118
\pnum
7114
7119
A \grammarterm {using-enum-declaration}
You can’t perform that action at this time.
0 commit comments