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++/21901] Nested class has access to Nestee's private member functions


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-03 15:29 -------
Why do you think this is invalid code and should be rejected?
This is accepted by Comeau's C++ compiler too.

I don't have the standard right in the front of me right now but I think this is valid code.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21901


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