Skip to content

Commit b702285

Browse files
committed
update
1 parent fbf36b1 commit b702285

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

issues/2877.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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

@@ -25,7 +25,7 @@
2525
<B>Section: </B>9.7.2&#160; [<A href="https://wg21.link/enum.udecl">enum.udecl</A>]
2626
&#160;&#160;&#160;
2727

28-
<B>Status: </B>tentatively ready
28+
<B>Status: </B>ready
2929
&#160;&#160;&#160;
3030

3131
<B>Submitter: </B>Richard Smith
@@ -86,7 +86,7 @@
8686
using enum AA&lt;E&gt;; //<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

@@ -103,13 +103,13 @@
103103
enum E { x };
104104
void 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
}
108108
using F = E;
109-
using enum F; // <SPAN CLASS="cmnt">OK, designates <TT>::E</TT></SPAN>
109+
using enum F; // <SPAN CLASS="cmnt">OK</SPAN>
110110
template&lt;class T&gt; using EE = T;
111111
void g() {
112-
using enum EE&lt;E&gt;; // <SPAN CLASS="cmnt">OK, designates <TT>::E</TT></SPAN>
112+
using enum EE&lt;E&gt;; // <SPAN CLASS="cmnt">OK</SPAN>
113113
}
114114
</PRE>
115115
<INS>-- end example ]</INS>

0 commit comments

Comments
 (0)