Inside the C++ object model

書誌事項

Inside the C++ object model

Stanley B. Lippman

Addison-Wesley, c1996

  • : pbk

大学図書館所蔵 件 / 6

この図書・雑誌をさがす

注記

Includes index

内容説明・目次

内容説明

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

目次

Object Lessons. Layout Costs for Adding Encapsulation. The C++ Object Model. A Keyword Distinction. An Object Distinction. The Semantics of Constructors. Default Constructor Construction. Copy Constructor Construction. Program Transformation Semantics. Member Initialization List. The Semantics of Data. The Binding of a Data Member. Data Member Layout. Access of a Data Member. Inheritance and the Data Member. Object Member Efficiency. Pointer to Data Members. The Semantics of Function. Varieties of Member Invocation. Virtual Member Functions. Function Efficiency. Pointer-to-Member Functions. Inline Functions. Semantics of Construction, Destruction, and Copy. Object Construction without Inheritance. Object Construction under Inheritance. Object Copy Semantics. Object Efficiency. Semantics of Destruction. Runtime Semantics. Object Construction and Destruction. Operators new and delete. Temporary Objects. On the Cusp of the Object Model. Templates. Exception Handling. Runtime Type Identification. Efficient, but Inflexible. Index. 0201834545T04062001

「Nielsen BookData」 より

詳細情報

ページトップへ