< Previous | Contents | Next >
Calling and Overriding Base Class Member Functions
You’re not stuck with every base class member function you inherit in a derived class as is. You have options that allow you to customize how those inherited member functions work in your derived class. You can override them by giving
Calling and Overriding Base Class Member Functions 341
them new definitions in your derived class. You can also explicitly call a base class member function from any member function of your derived class.