Inside the C++ Object Model

Inside the C++ Object Model

by Stanley B. Lippman
     
 

ISBN-10: 0201834545

ISBN-13: 9780201834543

Pub. Date: 05/17/1996

Publisher: Addison-Wesley

Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"--virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code

…  See more details below

Overview

Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"--virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs.

Highlights

  • Explores the program behavior implicit in the C++ Object Model's support of object-oriented programming.
  • Explains the basic implementation of the object-oriented features and the trade offs implicit in those features.
  • Examines the impact on performance in terms of program transformation.
  • Provides abundant program examples, diagrams, and performance measurements to relate object-oriented concepts to the underlying object model.

If you are a C++ programmer who desires a fuller understanding of what is going on "under the hood," then Inside the C++ Object Model is for you!

Get a value-added service! Try out all the examples from this book at www.codesaw.com. CodeSaw is a free online learning tool that allows you to experiment with live code from your book right in your browser.

0201834545B11102003

Read More

Product Details

ISBN-13:
9780201834543
Publisher:
Addison-Wesley
Publication date:
05/17/1996
Edition description:
New Edition
Pages:
280
Product dimensions:
6.20(w) x 9.20(h) x 0.70(d)

Table of Contents

Object Lessons.

Layout Costs for Adding Encapsulation.

The C++ Object Model.

A Keyword Distinction.

An Object Distinction.

The Semantics of Constructors.

Default Constructor Construction.

Copy Constructor Construction.

Program Transformation Semantics.

Member Initialization List.

The Semantics of Data.

The Binding of a Data Member.

Data Member Layout.

Access of a Data Member.

Inheritance and the Data Member.

Object Member Efficiency.

Pointer to Data Members.

The Semantics of Function.

Varieties of Member Invocation.

Virtual Member Functions.

Function Efficiency.

Pointer-to-Member Functions.

Inline Functions.

Semantics of Construction, Destruction, and Copy.

Object Construction without Inheritance.

Object Construction under Inheritance.

Object Copy Semantics.

Object Efficiency.

Semantics of Destruction.

Runtime Semantics.

Object Construction and Destruction.

Operators new and delete.

Temporary Objects.

On the Cusp of the Object Model.

Templates.

Exception Handling.

Runtime Type Identification.

Efficient, but Inflexible.

Index. 0201834545T04062001

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >