21. Other Topics

Objectives

In this chapter you’ll:

• Use const_cast to temporarily treat a const object as a non-const object.

• Use namespaces

• Use operator keywords.

• Use mutable members in const objects.

• Use class-member pointer operators .* and ->*.

• Use multiple inheritance.

• Understand the role of virtual base classes in multiple inheritance.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.