This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/8813: members of a nested class should not have special access to members of an enclosing class


Synopsis: members of a nested class should not have special access to members of an enclosing class

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Dec  4 11:03:01 2002
State-Changed-Why:
    There is a defect report to the C++ standard that treats this.
    The resolution is that the elements of member classes have
    the same access as member functions, for example, so they
    can also access private members of the enclosing class.
    I personally don't like this resolution, but it is there
    and is part of the C++ standard.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8813


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]