20.5 Nested Classes - syntax (cont.)

Syntax 20.3: Nested Class Declaration (cont.)
Example:
class List
{
   . . .
   class Iterator;
};
Purpose: Declare a class whose scope is contained in the scope of another class

prev |top |next