This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15865] Invalid variable definition through the constructor name
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2004 01:11:38 -0000
- Subject: [Bug c++/15865] Invalid variable definition through the constructor name
- References: <20040608021123.15865.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-27 01:11 -------
I think you should look at the dup bug which gives the reference to the standard:
[3.4/3 says 'because the name of a class is inserted in its class scope, the
name of the class is also considered a member of the class for the purposes of
name hiding and lookup.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15865