0%

inside the c++ object model

基本信息

名称: inside the c++ object model
作者信息: 作者: Stanley B. Lippman [ 英文 pdf ]

简单介绍

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.

目录

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Chapter 1. Object Lessons
Layout Costs for Adding Encapsulation
Section 1.1. The C++ Object Model
Section 1.2. A Keyword Distinction
Section 1.3. An Object Distinction
Chapter 2. The Semantics of Constructors
Section 2.1. Default Constructor Construction
Section 2.2. Copy Constructor Construction
Section 2.3. Program Transformation Semantics
Section 2.4. Member Initialization List
Chapter 3. The Semantics of Data
Section 3.1. The Binding of a Data Member
Section 3.2. Data Member Layout
Section 3.3. Access of a Data Member
Section 3.4. Inheritance and the Data Member
Section 3.5. Object Member Efficiency
Section 3.6. Pointer to Data Members
Chapter 4. The Semantics of Function
Section 4.1. Varieties of Member Invocation
Section 4.2. Virtual Member Functions
Section 4.3. Function Efficiency
Section 4.4. Pointer-to-Member Functions
Section 4.5. Inline Functions
Chapter 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
Section 5.1. Object Construction without Inheritance
Section 5.2. Object Construction under Inheritance
Section 5.3. Object Copy Semantics
Section 5.4. Object Efficiency
Section 5.5. Semantics of Destruction
Chapter 6. Runtime Semantics
Section 6.1. Object Construction and Destruction
Section 6.2. Operators new and delete
Section 6.3. Temporary Objects
Chapter 7. On the Cusp of the Object Model
Section 7.1. Templates
Section 7.2. Exception Handling
Section 7.3. Runtime Type Identification
Section 7.4. Efficient, but Inflexible?

亚马逊链接

欢迎关注我的其它发布渠道