https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103084

--- Comment #9 from M Welinder <terra at gnome dot org> ---
I went back and looked at the proposal's revision history.

TLDR: this just adds to the confusion.


r3 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1099r3.html):
* I read it as allowing "using enum Hog;"
* No mention of elaborated-type-specifier

r4 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1099r4.html):
* I read it as *dis*allowing "using enum Hog;"
* "using enum foo" defined in terms of elaborated-type-specifier (not -enum-)

r5 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1099r5.html):
* This is the version that was approved
* elaborated-enum-specifier first appears here
* "using enum foo" defined in terms of elaborated-enum-specifier

Reply via email to