| document.write('许多程序员可能并不知道,C++不仅是一个面向对象程序语言,它还适用于泛型编程(generic programming)。这项技术可以大大增强你的能力,协助你写出高效率并可重复运用的软件组件(software components)。 本书由知名的C++专家Matthew H.Austern执笔,引导你进入泛型编程思维模型,并将你带往此一模型的最重要成品:C++ Standard Template Library(STL)。本书揭示STL的奥秘,告诉你STL不仅仅是一组方便运用的容器类(container classes)。对于泛型组件和可交互作用的组件而言,STL是一个具备扩充能力的框架(framework)。'); |
| Preface Part I Introduction to Generic Programming Chapter 1 A Tour of the STL 1.1 A Simple Example 1.2 Summary Chapter 2 Algorithms and Ranges 2.1 Linear Search 2.2 Concepts and Modeling 2.3 Iterators 2.4 Refinement 2.5 Summary Chapter 3 More about Iterators 3.1 Iterator Traits and Associated Types 3.2 Defining New Components 3.3 Summary Chapter 4 Function Objects 4.1 Generalizing Linear Search 4.2 Function Object Concepts 4.3 Function Object Adaptors 4.4 Predefined Function Objects 4.5 Summary Chapter 5 Containers 5.1 A Simple Container 5.2 Container Concepts 5.3 Variable Size Container Concepts 5.4 Summary Part II  |
商品评论(0条)