O'Reilly logo

The C++ Programming Language, Special Edition by New Jersey Stroustrup Bjarne AT&T Labs Murray Hill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required