Chapter 15. Class Hierarchies
Abstraction is selective ignorance. | ||
--Andrew Koenig |
Multiple inheritance — ambiguity resolution — inheritance and using-declarations — replicated base classes — virtual base classes — uses of multiple inheritance — access control — protected — access to base classes — run-time type information — dynamic_cast — static and dynamic casts — casting from virtual bases — typeid — extended type information — uses and misuses of run-time type information — pointers to members — free store — virtual constructors — advice — exercises.
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.