Table of Contents
[ fromfile: inheritance-detail.xml id: inheritance-detail ]
Abstract
This chapter formalizes and details some of the concepts introduced earlier in Chapter 6, "Inheritance and Polymorphism."
We explain how constructors, destructors, and copy assignment operators are generated and used by derived classes. We discuss how the keywords public
, private
, and protected
can be used for base classes and members. We also provide examples of multiple inheritance.
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |