Book description
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
Table of contents
- Copyright
- Preface
- 1. Object Lessons
- 2. The Semantics of Constructors
- 3. The Semantics of Data
- 4. The Semantics of Function
-
5. Semantics of Construction, Destruction, and Copy
- Presence of a Pure Virtual Destructor
- Presence of a Virtual Specification
- Presence of const within a Virtual Specification
- A Reconsidered Class Declaration
- 5.1. Object Construction without Inheritance
- 5.2. Object Construction under Inheritance
- 5.3. Object Copy Semantics
- 5.4. Object Efficiency
- 5.5. Semantics of Destruction
- 6. Runtime Semantics
- 7. On the Cusp of the Object Model
Product information
- Title: Inside the C++ Object Model
- Author(s):
- Release date: May 1996
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780201834543
You might also like
book
Hands-On Design Patterns with C++
A comprehensive guide with extensive coverage on concepts such as OOP, functional programming, generic programming, and …
book
C++ Reactive Programming
Learn how to implement the reactive programming paradigm with C++ and build asynchronous and concurrent applications …
book
C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond
Abrahams and Gurtovoy have written something close to a classic… marvelous fun to read… Read the …
book
Advanced C++ Programming Cookbook
A recipe-based guide to refining your C++ programming skills with the help of coding best practices, …