This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56090] Injected-class-name treated as constructor name
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Jan 2013 21:44:07 +0000
- Subject: [Bug c++/56090] Injected-class-name treated as constructor name
- Auto-submitted: auto-generated
- References: <bug-56090-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56090
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-23 21:44:07 UTC ---
My reading of DR 147, makes this invalid code as foo::foo names the
constructor.