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
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
audiobook
Technically Wrong
Buying groceries, tracking our health, finding a date: whatever we want to do, odds are that …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for the latest version of React—React 18** React.js is the most …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …