C++ Common Knowledge: Essential Intermediate Programming (Paperback)
暫譯: C++ 常識:必備中級程式設計
Stephen C. Dewhurst
- 出版商: Addison Wesley
- 出版日期: 2005-02-28
- 售價: $1,700
- 貴賓價: 9.5 折 $1,615
- 語言: 英文
- 頁數: 272
- 裝訂: Paperback
- ISBN: 0321321928
- ISBN-13: 9780321321923
-
相關分類:
C++ 程式語言
立即出貨
買這商品的人也買了...
-
$980$774 -
$590$466 -
$199$179 -
$680$537 -
$750$638 -
$560$476 -
$490$387 -
$750$593 -
$780$616 -
$490$382 -
$990$782 -
$902Computer Science Illuminated, 2/e
-
$890$703 -
$650$514 -
$480$379 -
$650$507 -
$450$383 -
$590$460 -
$580$452 -
$460$391 -
$680$578 -
$399$339 -
$620$490 -
$880$748 -
$680$646
商品描述
Table of Contents:
Preface xi
Acknowledgments xvii
A Note on Typographical Conventions xixItem 1: Data Abstraction 1
Item 2: Polymorphism 3
Item 3: Design Patterns 7
Item 4: The Standard Template Library 11
Item 5: References Are Aliases, Not Pointers 13
Item 6: Array Formal Arguments 17
Item 7: Const Pointers and Pointers to Const 21
Item 8: Pointers to Pointers 25
Item 9: New Cast Operators 29
Item 10: Meaning of a Const Member Function 33
Item 11: The Compiler Puts Stuff in Classes 37
Item 12: Assignment and Initialization Are Different 41
Item 13: Copy Operations 45
Item 14: Function Pointers 49
Item 15: Pointers to Class Members Are Not Pointers 53
Item 16: Pointers to Member Functions Are Not Pointers 57
Item 17: Dealing with Function and Array Declarators 61
Item 18: Function Objects 63
Item 19: Commands and Hollywood 67
Item 20: STL Function Objects 71
Item 21: Overloading and Overriding Are Different 75
Item 22: Template Method 77
Item 23: Namespaces 81
Item 24: Member Function Lookup 87
Item 25: Argument Dependent Lookup 89
Item 26: Operator Function Lookup 91
Item 27: Capability Queries 93
Item 28: Meaning of Pointer Comparison 97
Item 29: Virtual Constructors and Prototype 99
Item 30: Factory Method 103
Item 31: Covariant Return Types 107
Item 32: Preventing Copying 111
Item 33: Manufacturing Abstract Bases 113
Item 34: Restricting Heap Allocation 117
Item 35: Placement New 119
Item 36: Class-Specific Memory Management 123
Item 37: Array Allocation 127
Item 38: Exception Safety Axioms 131
Item 39: Exception Safe Functions 135
Item 40: RAII 139
Item 41: New, Constructors, and Exceptions 143
Item 42: Smart Pointers 145
Item 43: auto_ptr Is Unusual 147
Item 44: Pointer Arithmetic 149
Item 45: Template Terminology 153
Item 46: Class Template Explicit Specialization 155
Item 47: Template Partial Specialization 161
Item 48: Class Template Member Specialization 165
Item 49: Disambiguating with Typename 169
Item 50: Member Templates 173
Item 51: Disambiguating with Template 179
Item 52: Specializing for Type Information 183
Item 53: Embedded Type Information 189
Item 54: Traits 193
Item 55: Template Template Parameters 199
Item 56: Policies 205
Item 57: Template Argument Deduction 209
Item 58: Overloading Function Templates 213
Item 59: SFINAE 217
Item 60: Generic Algorithms 221
Item 61: You Instantiate What You Use 225
Item 62: Include Guards 229
Item 63: Optional Keywords 231Bibliography 235
Index 237
Index of Code Examples 245
商品描述(中文翻譯)
目錄:
前言 xi
致謝 xvii
排版慣例說明 xix
項目 1:資料抽象 1
項目 2:多型 3
項目 3:設計模式 7
項目 4:標準模板庫 11
項目 5:參考是別名,而不是指標 13
項目 6:陣列形式參數 17
項目 7:常量指標與指向常量的指標 21
項目 8:指向指標的指標 25
項目 9:新的類型轉換運算子 29
項目 10:常量成員函數的意義 33
項目 11:編譯器將內容放入類別中 37
項目 12:賦值與初始化是不同的 41
項目 13:複製操作 45
項目 14:函數指標 49
項目 15:指向類別成員的指標不是指標 53
項目 16:指向成員函數的指標不是指標 57
項目 17:處理函數和陣列聲明 61
項目 18:函數物件 63
項目 19:命令與好萊塢 67
項目 20:STL 函數物件 71
項目 21:重載與覆寫是不同的 75
項目 22:模板方法 77
項目 23:命名空間 81
項目 24:成員函數查找 87
項目 25:依賴於參數的查找 89
項目 26:運算子函數查找 91
項目 27:能力查詢 93
項目 28:指標比較的意義 97
項目 29:虛擬建構函數與原型 99
項目 30:工廠方法 103
項目 31:協變返回類型 107
項目 32:防止複製 111
項目 33:製造抽象基類 113
項目 34:限制堆積分配 117
項目 35:放置新建構 119
項目 36:類別特定的記憶體管理 123
項目 37:陣列分配 127
項目 38:例外安全公理 131
項目 39:例外安全函數 135
項目 40:RAII 139
項目 41:new、建構函數與例外 143
項目 42:智能指標 145
項目 43:auto_ptr 是不尋常的 147
項目 44:指標運算 149
項目 45:模板術語 153
項目 46:類別模板顯式特化 155
項目 47:模板部分特化 161
項目 48:類別模板成員特化 165
項目 49:使用 typename 進行消歧 169
項目 50:成員模板 173
項目 51:使用模板進行消歧 179
項目 52:針對類型資訊的特化 183
項目 53:嵌入式類型資訊 189
項目 54:特徵 193
項目 55:模板模板參數 199
項目 56:政策 205
項目 57:模板參數推導