
C++ Templates: The Complete Guide
David Vandevoorde, Nicolai M. Josuttis
Résumé
Templates are among the most powerful features of C++, but they are too often neglected, misunderstood, and misused. C++ Templates: The Complete Guide provides software architects and engineers with a clear understanding of why, when, and how to use templates to build and maintain cleaner, faster, and smarter software more efficiently.
C++ Templates begins with an insightful tutorial on basic concepts and language features. The remainder of the book serves as a comprehensive reference, focusing first on language details, then on a wide range of coding techniques, and finally on advanced applications for templates. Examples used throughout the book illustrate abstract concepts and demonstrate 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++.
Contents
Acknowledgments.
- About This Book.
- Function Templates.
- Class Templates.
- Nontype Template Parameters.
- Tricky Basics.
- Using Templates in Practice.
- Basic Template Terminology.
- Fundamentals in Depth.
- Names in Templates.
- Instantiation.
- Template Argument Deduction.
- Specialization and Overloading.
- Future Directions.
- The Polymorphic Power of Templates.
- Traits and Policy Classes.
- Templates and Inheritance.
- Metaprograms.
- Expression Templates.
- Type Classification.
- Smart Pointers.
- Tuples.
- Function Objects and Callbacks.
- A: The One-Definition Rule.
- B: Overload Resolution.
L'auteur - Nicolai M. Josuttis
Nicolai Josuttis, who wrote The C++ Standard Library and C++ Templates, both for Addison-Wesley, has worked as a systems architect and technical manager. Recently, he spent two years rolling out a SOA at an international phone company. Nicolai presents SOA tutorials at several conferences, and has been speaking on the subject for multiple years. For more information on the author: http://www.josuttis.com
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | David Vandevoorde, Nicolai M. Josuttis |
Parution | 03/12/2002 |
Nb. de pages | 546 |
Format | 19 x 24 |
Couverture | Relié |
Poids | 1033g |
Intérieur | Noir et Blanc |
EAN13 | 9780201734843 |
ISBN13 | 978-0-201-73484-3 |
Avantages Eyrolles.com
Nos clients ont également acheté
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Développement d'applications Technologies objet
- Informatique Développement d'applications Programmation graphique et multimédia Programmation graphique en C/C++
- Informatique Développement d'applications Langages C++
- Informatique Développement d'applications Outils de développement Borland C++ Builder
- Informatique Développement d'applications Outils de développement Visual C++
- Informatique Développement d'applications Outils de développement Visual C++ .NET