20.6 Private Inheritance and Names - syntax (cont.)

Syntax 20.4: Private Inheritance (cont.)
Example:
class Set : private List
{
public:
   void add(string s);
   Iterator erase(Iterator pos);
   Iterator begin();
   Iterator end();
};

prev |top |next