作者:David Vandevoorde, Nicolai M. Josuttis
副书名:The Complete Guide
出版日期:November 12, 2002
出版社:Addison Wesley
页数:552
ISBN:0-201-73484-2
文件格式:CHM
Templates are among the most powerful features of C++, but they are too often neglected, misunderstood, and misused. C++ Templates: The Complete Guideprovides software architects and engineers with a clear understandingof why, when, and how to use templates to build and maintain cleaner,faster, and smarter software more efficiently.
C++ Templatesbegins with an insightful tutorial on basic concepts and languagefeatures. The remainder of the book serves as a comprehensivereference, focusing first on language details, then on a wide range ofcoding techniques, and finally on advanced applications for templates.Examples used throughout the book illustrate abstract concepts anddemonstrate best practices.
Readers learn
The exact behaviors of templates
How to avoid the pitfalls associated with templates
Idioms and techniques, from the basic to the previously undocumented
How to reuse source code without threatening performance or safety
How to increase the efficiency of C++ programs
How to produce more flexible and maintainable software
This practical guide shows programmers how to exploit the full power of the template features in C++.