Re: member class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dima Sorkin writes:
 > Hi.
 >  It _seems_ that g++ -pedantic -Wall  (any version) allows
 > the nested member classes to access the private types of
 > an enclosing class.
 > 
 > Should it be this way? It is contrary to
 > B.Stroustrup "The C++ prog lang" C.11.3

It's a bit more complicated than that.  Before you post a bug, have a
look at 11.8, Nested Classes, in ISO/IEC 14882, 
Programming languages: C++.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux