01. For a better understanding of the C ++ programming language;
02. To better understand the object-oriented thinking;
03. If programmers understand the C ++ object model, they can write code that is less prone to errors and more efficient;
//--------------------------------------------------------------------------------
I. Preface
00. Gossip:
> There is a problem, that is, reading from the preface is preferred;
> Managing a software team is like grazing a group of proud cats. ------ Barbara moo
> If programmers understand the C ++ object model, they can write code that is less prone to errors and more efficient.
> If a programmer understands the underlying implementation model, he can write highly efficient code with high self-confidence.
> Finding a balance between abstraction and practicality requires knowledge, experience, and many ideas.
02. What is the c ++ object model:
> There are two concepts to explain the C ++ object model:
A. Part of the language that directly supports object-oriented programming; (C ++ primer)
B. Underlying implementation mechanisms supported by various products (this book)
> Currently, all compilers use the exclusive virtual table of each class for the implementation of virtual functions, with a fixed size, and are constructed long before the program is executed.