C++ nested classes

Am reading The C++ Programming Language, 4ed, by Bjarne Stroustrup and his sixteenth suggestion for Java programmers (pg 21) is:

A C++ nested class does not have access to an object of the enclosing class.

I didn’t know that!

Leave a Reply