This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15865] Invalid variable definition through the constructor name


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]