[Bug c++/15865] Invalid variable definition through the constructor name
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 27 01:11:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list