O'Reilly logo

Visual C++ 2008: How to Program, Second Edition by D. T. Quirk, H. M. Deitel, P. J. Deitel

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

  • To use command-line arguments.

  • To use variable-length argument lists.

  • To use delegates with C++/CLI.

Outline

26.1

Introduction

26.2

Other Cast Operators

26.3

namespaces

26.4

Operator Keywords

26.5

mutable Class Members

26.6 ...

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