[计算机科学经

B a class non class template arguments t class

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ntation Schemes) 153 10.4.1 貪婪式具現化(Greedy Instantiation) 155 10.4.2 查詢式具現化(Queried Instantiation) 156 10.4.3 迭代式具現化(Iterated Instantiation) 157 C++ Templates - The Complete Guide 目錄 xi 10.5 明確具現化(Explicit Instantiation) 159 10.6 後記 163 11 Template 引數推導(Template Argument Deduction) 167 11.1 推導過程(Deduction Process) 167 11.2 推導之前後脈絡(Deduced Contexts) 169 11.3 特殊推導情境(Special Deduction Situations) 171 11.4 可接受的引數轉型(Allowable Argument Conversions) 172 11.5 Class Template Parameters(類別模板參數) 173 11.6 預設的呼叫引數(Default Call Arguments) 173 11.7 Barton-Nackman Trick 174 11.8 後記 177 12 特化與重載(Specialization and Overloading) 179 12.1 當泛型碼(Generic Code)不合用... 179 12.1.1 透通訂製(Transparent Customization) 180 12.1.2 語意的透通性(Semantic Transparency) 181 12.2 重載 Function Templates 183 12.2.1 Signatures(署名式) 184 12.2.2 Partial Ordering of Overloaded Function Templates 重載化函式模板的偏序規則 186 12.2.3 Formal Ordering Rules(正序規則) 188 12.2.4 Templates 和 Nontemplates 189 12.3 明確特化(顯式特化;Explicit Specialization) 190 12.3.1 Class Template 全特化(Full Specialization) 190 12.3.2 Function Template 全特化(Full Specialization) 194 12.3.3 Member 全特化(Full Special...
View Full Document

This note was uploaded on 08/25/2012 for the course EECS 101 taught by Professor Wre during the Fall '12 term at Beacon FL.

Ask a homework question - tutors are online