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

bangerth at ices dot utexas dot edu gcc-bugzilla@gcc.gnu.org
Sat Jun 4 18:48:00 GMT 2005


------- Additional Comments From bangerth at ices dot utexas dot edu  2005-06-04 18:48 -------
Subject: RE:  Nested class has access to Nestee's private
 member functions


> I read suggestions that this should be changed in the next standard, but I
> don't think it's changed yet.  Therefore, the resolution shouldn't be
> INVALID.  It either needs to fixed or documented as a non-standard extension
> (in anticipation of the next standard's changes).

It is part of the Technical Corrigendum TC1 of the standard, however, and 
therefore (retroactively) considered part of C++98.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                                www: http://www.ices.utexas.edu/~bangerth/



-- 


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



More information about the Gcc-bugs mailing list