- 本书目前有两版,第一版出版日期为2002年11月22日,中文版直到2004年才出版。为了跟进现代C++的发展,第二版于2017年9月25日出版。书中代码见《C++ Templates 2nd》官方源码。
- 函数模板(Function Template)
- 类模板(Class Template)
- 非类型模板参数(Nontype Template Parameter)
- 可变参数模板(Variadic Template)
- Tricky Basic
- 移动语义与enable_if
- 按值传递与按引用传递(By Value or by Reference?)
- 编译期编程(Compile-Time Programming)
- 模板实战(Using Templates in Practice)
- 泛型库(Generic Library)
- 深入模板基础(Fundamentals in Depth)
- 模板中的名称(Names in Template)
- 实例化(Instantiation)
- 模板实参推断(Template Argument Deduction)
- 特化与重载(Specialization and Overloading)