------- Additional Comments From mhcox at bluezoosoftware dot com 2005-06-04 17:20 ------- >From my copy of the C++ standard (ISO/IEC 14882:1998(E)) [class.access.net] 11.8.1:
The members of a nested class have no special access to members of an enclosing class, nor to classes or functions that have granted friendship to an enclosing class; the usual access rules (clause 11) shall be Obeyed. The members of an enclosing class have no special access to members of a nested class; the usual Access rules (clause 11) shall be obeyed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21901