[计算机科学经

Morgan ragu raghavendra jim phuong sharp gregg vaughn

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: Parameters(非型別模板參數) 35 4.1 Nontype Class Template Parameters (非型別類別模板參數) 35 4.2 Nontype Function Template Parameters(非型別函式模板參數) 39 4.3 Nontype Template Parameters 的侷限 40 4.4 摘要 41 高層次基本技術(Tricky Basics) 43 5.1 關鍵字 typename 43 5.2 使用 this-> 45 5.3 Member Templates(成員模板) 45 5.4 Template Template Parameters(雙重模板參數) 50 5.5 零值初始化(Zero Initialization) 5 27 3.4 偏特化(Partial Specialization) 4 25 56 5.6 以字串字面常數(String Literals)做為 Function Templates Arguments 57 5.7 摘要 6 60 實際運用 Templates 61 6.1 置入式模型(Inclusion Model) 61 6.1.1 聯結錯誤(Linker Errors) 61 6.1.2 把 Templates 放進表頭檔(Header Files) 63 6.2 顯式具現化(Explicit Instantiation) 65 6.2.1 顯式具現化(Explicit Instantiation)示例 65 6.2.2 結合置入式模型(Inclusion Model)和 顯式具現化(Explicit Instanti...
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