[Bug c++/50399] [c++11] Lookup error w/ enums

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 15 09:26:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50399

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-09-15 09:21:30 UTC ---
I think G++ is correct, see [basic.lookup.qual]

In C++03 a nested-name-specifier can only refer to a class or namespace, in
C++11 it can also refer to an enumeration.



More information about the Gcc-bugs mailing list