[Bug c++/21901] Nested class has access to Nestee's private member functions
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 3 15:29:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list