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.
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.