Chapter 15. Class Hierarchies

 

Abstraction is selective ignorance.

 
 --Andrew Koenig

Multiple inheritanceambiguity resolutioninheritance and using-declarationsreplicated base classesvirtual base classesuses of multiple inheritanceaccess controlprotectedaccess to base classesrun-time type informationdynamic_caststatic and dynamic castscasting from virtual basestypeidextended type informationuses and misuses of run-time type informationpointers to membersfree storevirtual constructorsadviceexercises.

Introduction and Overview

This chapter discusses how derived classes and virtual functions interact with other language facilities such as access control, name lookup, free store management, constructors, ...

Get The C++ Programming Language, Special Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.