Å·±¦ÓéÀÖ

Jump to ratings and reviews
Rate this book

Le modèle objet du C++

Rate this book
Bestselling author Stanley B. Lippman's Inside the C++ Model provides valuable insight into some of the internal workings of the C++ language. This book is a product of a decade of research at Bell Labs (where Lippman worked with C++ inventor Bjarne Stroustrup) and Lippman's considerable C++ expertise. Written with the experienced C++ programmer in mind, this book looks at how key language features are implemented underneath the hood and provides some guidelines when designing C++ classes.

This title first examines how C++ objects work--showing the differences between C++ structures and classes. The author looks carefully at the varieties of C++ constructors, including default and copy constructors, data members, and initialization.

Subsequent sections cover inheritance, including virtual inheritance, and the inner details that will help you create effective and robust data types. The author frequently points out inefficiencies (and efficiencies) that can occur when instantiating objects. The book closes with a tour of more advanced C++ language features, such as templates, exception handling, and run-time type information. This book can help make you the resident C++ language expert at your programming shop. --Richard Dragan

268 pages, Paperback

First published May 13, 1996

7 people are currently reading
164 people want to read

About the author

Stanley B. Lippman

20Ìýbooks18Ìýfollowers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
39 (48%)
4 stars
31 (38%)
3 stars
8 (9%)
2 stars
3 (3%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
1 review
December 5, 2020
The book is of an exceptional quality. Despite its age, many of the things discussed in the book are relevant today. Gives great insights to real C++ implementations (of the time) and some challenges along with possible solutions with their trade-offs. The book does show its age in some parts, but it's an overall great read.
1 review
February 22, 2023
This is an excellent book on the internal design of the cpp language. If someone wants to understand the decoupling of the cpp syntactic sugars and the compiler design, I would totally recommend this book.
Profile Image for Silent_count.
100 reviews16 followers
July 3, 2012
The blurb says it all. I can't recommend this book highly enough for anyone who wants to understand how the various abstractions of the C++ language are translated to lower level code. Even if you're not planning on writing blistering fast C++ code, having a confident grasp of what your code does, and how it does it, will invariably help avoid making mistakes and write stronger code.

My only hesitation regarding this book is that I came at it 'from below', as it were - as an assembly programmer wanting to know what the compiler does with my "high-level" C++ code. While I'm sure it will be beneficial to those coming from the other side, who don't understand code at the next level down, I'm not sure they'll get as much benefit from it as I did.

Not a 'fun' read but enormously helpful for anyone who writes C++ code.
Profile Image for Prakash.
154 reviews88 followers
March 5, 2017
Ever wondered what is the cost of inheritance, virtual functions or exception handling? Is C faster than C++? How does the compiler know the type of an object at runtime?

This is definitely a classic. There are many other great books which are overlapping, in terms of content, with each other. But I don't know one of having information which it has.

The book itself can't be termed as dense as no code is without explanation/comments. Regardless, the material covered is quite advanced, so it will not be an easy read.

The book is quite old and does have some typos at some annoying places.

If you are a C++ programmer, or have an interest in C++, I think it is a must-read. Even if you are from Java background, and know a little C++, I think you would be a better programmer after reading it.
Profile Image for Jo.
AuthorÌý9 books2 followers
January 3, 2010
Probably one of the most important books about C++ ever written. It's not amazingly readable, but it is vital.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.