C++面向对象程序设计
13.1 13.2 13.3
Introduction Polymorphism Examples Relationships Among Objects in an Inheritance Hierarchy 13.3.1 13.3.2 13.3.3 13.3.4 13.3.5 Invoking Base-Class Functions from DerivedClass Objects Aiming Derived-Class Pointers at Base-Class Objects Derived-Class Member-Function Calls via BaseClass Pointers Virtual Functions Summary of the Allowed Assignments Between Base-Class and Derived-Class Objects and Pointers
13.4 13.5
Type Fields and switch Statements Abstract Classes and Pure virtual Functions