C++ Templates: The Complete Guide (Hardcover)

David Vandevoorde, Nicolai M. Josuttis

  • 出版商: Addison-Wesley Professional
  • 出版日期: 2002-11-22
  • 定價: USD $79.99
  • 售價: $1,680
  • 語言: 英文
  • 頁數: 552
  • 裝訂: Hardcover
  • ISBN: 0201734842
  • ISBN-13: 9780201734843

立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

Table of Contents

Preface.
Acknowledgments.
1. About This Book.

I. THE BASICS.


2. Function Templates.
3. Class Templates.
4. Nontype Template Parameters.
5. Tricky Basics.
6. Using Templates in Practice.
7. Basic Template Terminology.

 

II. TEMPLATES IN DEPTH.


8. Fundamentals in Depth.
9. Names in Templates.
10. Instantiation.
11. Template Argument Deduction.
12. Specialization and Overloading.
13. Future Directions.

 

III. TEMPLATES AND DESIGN.


14. The Polymorphic Power of Templates.
15. Traits and Policy Classes.
16. Templates and Inheritance.
17. Metaprograms.
18. Expression Templates.

IV. ADVANCED APPLICATIONS.


19. Type Classification.
20. Smart Pointers.
21. Tuples.
22. Function Objects and Callbacks.

APPENDIXES.


A: The One-Definition Rule.
B: Overload Resolution.
Bibliography.
Newsgroups.
Books and Web Sites.
Glossary.