Stanley B. Lippman 是微软公司 Visual C++ 团队的架构师。他从1984年开始在贝尔实验室与 C++ 的设计者 Bjarne Stroustrup 一起从事 C++ 的设计与开发。他还著有 Inside the C++ Object Model。
AI导读
核心看点
由C++编译器设计者撰写,揭示对象底层实现机制
深入解析封装、继承、多态及临时对象的语意与成本
澄清C++性能迷思,帮助编写高效且符合标准的代码
读者共识
C++进阶必读经典,读完对语言设计有恍然大悟之感
翻译质量参差不齐,部分术语晦涩,建议对照原文
虽内容稍显陈旧且枯燥,但仍是理解OO本质的佳作
精彩摘录
"在这四种情况中,程序可以被正确编译并执行,但是效率不彰。"
"You mustuse the member initialization list in the following cases in order for your program to compile 1. When initializing a reference member 2. When initializing a const member 3. When invoking a base or member class constructor with a set of arguments In the fourth case, the program compiles and "