Chapter 24. Other Topics
What's in a name? that which we call a rose By any other name would smell as sweet.
O Diamond! Diamond! thou little knowest the mischief done!
Sir Isaac Newton
In this chapter you will learn:
To use to const_cast to temporarily treat a const object as a non-const object.
To use namespaces.
To use operator keywords.
To use mutable members in const objects.
To use class-member pointer operators .* and ->*.
To use multiple inheritance.
The role of virtual base classes in multiple inheritance.
24.2 const_cast Operator
24.4 Operator Keywords
24.5 mutable Class Members
24.6 Pointers to Class Members (.* and ->*)
24.7 Multiple Inheritance
24.8 Multiple Inheritance and virtual Base Classes
24.10 Closing Remarks
Answers to Self-Review Exercises