20.6 Private Inheritance and Names - syntax

Syntax 20.4: Private Inheritance
class DerivedClassName : private BaseClassName
{
   features;
}
Purpose: To allow the derived class access to the functionality of the base class, without declaring the derived class as a specialized form of the base class.

prev |top |next