File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1616 Core Issues List revision 114b.
1717 See http://www.open-std.org/jtc1/sc22/wg21/ for the official
1818 list.</ EM > </ P >
19- < P > 2024-05-31 </ P >
19+ < P > 2024-06-26 </ P >
2020< HR >
2121< A NAME ="2877 "> </ A > < H4 > 2877.
2222
2525< B > Section: </ B > 9.7.2  [< A href ="https://wg21.link/enum.udecl "> enum.udecl</ A > ]
2626    
2727
28- < B > Status: </ B > tentatively ready
28+ < B > Status: </ B > ready
2929    
3030
3131 < B > Submitter: </ B > Richard Smith
8686 using enum AA<E>; //< SPAN CLASS ="cmnt "> Clang and MSVC reject, GCC and EDG accept</ SPAN >
8787</ PRE >
8888
89- < P > < B > Proposed resolution (approved by CWG 2024-05-31 ):</ B > </ P >
89+ < P > < B > Proposed resolution (approved by CWG 2024-06-26 ):</ B > </ P >
9090
9191< P > Change in 9.7.2 [< A href ="https://wg21.link/enum.udecl#1 "> enum.udecl</ A > ] paragraph 1 as follows:</ P >
9292
103103enum E { x };
104104void f() {
105105 int E;
106- using enum E; // < SPAN CLASS ="cmnt "> OK, names < TT > ::E </ TT > </ SPAN >
106+ using enum E; // < SPAN CLASS ="cmnt "> OK</ SPAN >
107107}
108108using F = E;
109- using enum F; // < SPAN CLASS ="cmnt "> OK, designates < TT > ::E </ TT > </ SPAN >
109+ using enum F; // < SPAN CLASS ="cmnt "> OK</ SPAN >
110110template<class T> using EE = T;
111111void g() {
112- using enum EE<E>; // < SPAN CLASS ="cmnt "> OK, designates < TT > ::E </ TT > </ SPAN >
112+ using enum EE<E>; // < SPAN CLASS ="cmnt "> OK</ SPAN >
113113}
114114</ PRE >
115115< INS > -- end example ]</ INS >
You can’t perform that action at this time.
0 commit comments