[Bug c++/11764] [DR147] g++ does not treat injected class name correctly.
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 20 17:03:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764
--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-02-20 17:03:00 UTC ---
No, that's valid. In the nested-name-specifier the second A only considers
namespaces, types and templates whose specializations are types
([basic.lookup.qual]) so it doesn't name the constructor.
More information about the Gcc-bugs
mailing list