Chapter 26. Other Topics
What’s in a name? that which we call a rose By any other name would smell as sweet. | ||
--William Shakespeare |
O Diamond! Diamond! thou little knowest the mischief done! | ||
--—Sir Isaac Newton |
OBJECTIVES
In this chapter you’ll learn:
To use
const_cast
to temporarily treat aconst
object as a non-const
object.To use
namespace
s.To use operator keywords.
To use
mutable
members inconst
objects.To use class-member pointer operators
.*
and->*
.To use multiple inheritance.
The role of
virtual
base classes in multiple inheritance.To use command-line arguments.
To use variable-length argument lists.
To use delegates with C++/CLI.
Outline | |
---|---|
Introduction | |
Other Cast Operators | |
Operator Keywords | |
Get Visual C++ 2008: How to Program, Second 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.