[计算机科学经

Preprocessors cc preprocessors formatted source

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: 119 9.1 名稱分類學(Name Taxonomy) 119 9.2 名稱查詢(Looking Up Names) 121 9.2.1「相依於引數」的查詢(Argument-Dependent Lookup, ADL) 123 9.2.2 Friend 名稱植入(Friend Name Injection) 125 9.2.3 植入 Class 名稱(Injected Class Names) 126 9.3 解析(Parsing)Templates 127 9.3.1 Nontemplates 的前後脈絡敏感性(Context Sensitivity) 127 9.3.2 型別的受控名稱(Dependent Names ) 130 9.3.3 Templates 的受控名稱(Dependent Names ) 132 9.3.4 using 宣告式㆗的受控名稱(Dependent Names) 133 9.3.5 ADL 和 Explicit Template Arguments(明確模板引數) 135 9.4 衍生(Derivation)與 Class Templates 135 9.4.1 非受控的(Nondependent)Base Classes 135 9.4.2 受控的(Dependent)Base Classes 136 9.5 後記 139 10 具現化/實體化(Instantiation) 141 10.1 隨需具現化(On-Demand Instantiation) 141 10.2 緩式具現化(Lazy Instantiation) 143 10.3 C++具現化模型(C++ Instantiation Model) 146 10.3.1 兩段式查詢(Two-Phase Lookup) 146 10.3.2 具現點(Points of Instantiation) 146 10.3.3 置入式(Inclusion)和分離式(Separation)模型 149 10.3.4 跨越編譯單元尋找 POI 150 10.3.5 舉例 151 10.4 實作方案(Impleme...
View Full Document

Ask a homework question - tutors are online