CS202   7- ‹#›
Nesting
•If a class is defined within another class in the private section, the nested class is available for use only by the member functions of the outer class and by friends of that class. Clients cannot create objects of the nested class type.
•In the implementation of a nested class' member functions, where the interface is separate from the implementation, an additional class name and scope resolution operator is required.
n
n//nested class' constructor implementation
nouter_class::nested_class::nested_class() {
n  ...
n}
n