member class

Dima Sorkin dima.sorkin@gmail.com
Mon Mar 26 10:57:00 GMT 2007


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

Regards,
 Dima.



More information about the Gcc-help mailing list