<<Depth Exploration C ++ Model>> Question (Chapter 3) (Part 3)

zhaozj2021-02-11  192

Chapter III: Data Language

1. The size of a Class's Object is generally influenced by the three factors? (P84-p85)

2. What is the size of an empty Class? why? (P84)

3. How does an EMPTY VIRTUAL BASE Class? How do the compiler optimize it (such as VC )? (P86)

4. Where will a Static Data MEMBER are stored? (P88)

3.1 Help for Data Member

1. In a Data MEMBER help in an inline member function, when is it going back? (P89-P91)

2. What is the help operation in the Argument List of MEMBER FUNCTION? (P91)

3.2 Data MEMBER's layout

1. NonStatic Data MEMBER in Class Object is based on what is from? (92)

2. MEMBER in Class Object must be arranged continuously? (92)

3. Declare 8 MEMBERS in a section or a total declaration of 8 member in 8 sections, is the Object size? (P93)

4. If we want to write a program to judge the two Data Members that appear first in Class Object, how to implement it, what is the principle? (P93-P94)

转载请注明原文地址:https://www.9cbs.com/read-4940.html

New Post(0)