[Bug c++/21901] Nested class has access to Nestee's private member functions

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 3 17:46:00 GMT 2005


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



More information about the Gcc-bugs mailing list