[计算机科学经

Empty push pop stack c templates

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: (Composition) 445 22.7.1 簡式複合(Simple Composition) 446 22.7.2 混式複合(Mixed Type Composition) 450 22.7.3 減少參數個數 454 22.8 Value Binders(繫值器) 457 22.8.1 對繫結進行選擇(Selecting the Binding) 458 22.8.2 Bound Signature 460 22.8.3 引數的選擇 462 22.8.4 便捷函式(Convenience Functions) 468 22.9 Functor(仿函式)操作:㆒個完整實作品 471 22.10 後記 474 C++ Templates - The Complete Guide 目錄 xvi 附錄 475 A 單㆒定義規則(ODR, One-Definition Rule) 475 A.1 編譯單元(Translation Units) 475 A.2 宣告(Declarations)和定義(Definitions) 476 A.3 單㆒定義規則(ODR)細節 477 A.3.1 約束㆒:每個程式只能有㆒份定義 A.3.2 約束㆓:每個編譯單元只能有㆒份定義 479 A.3.3 約束㆔:跨編譯單元必須等價(Equivalence) B 477 481 重載決議機制(Overload Resolution) 487 B.1 重載決議機制何時介入? 488 B.2 精簡版重載決議機制 488 B.2.1 成員函式的隱含引數 490 B.2.2 完美匹配(Perfect Match)精解 492 B.3 重載(Overloading)細節 493 B.3.1 優先選定 Nontemplates 493 B.3.2 轉換序列(Conversio...
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