This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21901] Nested class has access to Nestee's private member functions
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2005 17:46:11 -0000
- Subject: [Bug c++/21901] Nested class has access to Nestee's private member functions
- References: <20050603145948.21901.mhcox@bluezoosoftware.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-06-03 17:46 -------
Nested class, like all other members of a class, have access to private
and protected members. That's what the standard says.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21901