C++ Templates: The Complete Guide 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Frequently bought together
From the Back Cover
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.
- 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++.
The companion Web site at http://www.josuttis.com/tmplbook/ contains sample code and additional updates.
About the Author
David Vandevoorde is an engineer at the Edison Design Group. He is an active member of the ANSI C++ Standards Committee, and a cofounder of the newsgroup comp.lang.c++.moderated. A graduate of the Brussels Free University and the Rensselaer Polytechnic Institute, his interests include algorithm development, programming languages, and teaching. See www.vandevoorde.com.
Nicolai M. Josuttis is an independent technical consultant who designs object-oriented software for the telecommunications, traffic, finance, and manufacturing industries. He is an active member of the C++ Standards Committee Library Working Group. Nicolai has written several books on object-oriented programming and C++. See www.josuttis.com.
- Publisher : Addison-Wesley Professional; 1st edition (November 1, 2002)
- Language : English
- Hardcover : 528 pages
- ISBN-10 : 0201734842
- ISBN-13 : 978-0201734843
- Item Weight : 2.53 pounds
- Dimensions : 7.5 x 1.25 x 9.25 inches
- Best Sellers Rank: #556,156 in Books (See Top 100 in Books)
- Customer Reviews:
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I bought this book for the community bookshelf of our C++ programming department, but particularly for one colleague who struggled with the notion of using templates at all, much less, effectively. After a couple of hours, he was pestering everyone about all of the bits of code that we should be converting to templates. Viola, a success story!
The book very quickly gets to the point of dealing with templates. The first few chapters do away with unnecessary fluff and give you the tools to understand and implement templates. The book is amazingly concise without compromising the shared benefit of years of experience contained within by its authors.
Getting past the basics, the authors give us their insight into more details regarding templates and their use--both in code and even by convention in discourse regarding templates. One easily sees that their intent is in sharing the truth of templates in this book.
This is undoubtedly going to be the defacto-standard for books on the topic of C++ Templates.
This book is sometimes very technical and is not the easiest to read. Nevertheless, the quality of the information it contains is great. This book covers all the aspects of template programming, from generic programming to template meta programming passing by traits and policy classes.
To conclude, I'll say that this book is a very good guide about templates. It covers most of the details that you can face when developing with templates or when working with very templatized libraries like Boost.
It is definitely NOT FOR BEGINNERS. Readers should already have some experience in C++ development. An experience using template libraries such as STL, ATL, WTL, collectioin classes in MFC or other will be very helpful.
The book contains a concize guide on C++ template basics in the first part with a detailed reference guide in the following parts.
I have found on the authors' website that the book is also available in Russian and Polish languages.
Top reviews from other countries
The authors do a good job of explaining the tricky details with good examples.
Das Buch ist auch eine Grundlage um Boost Bibliotheken zu verstehen, also falls sich jemanden den Boost-Code lesen möchte sollte man sich mit C++ Templates auskennen oder dieses Buch lesen.
Das Buch empfehle ich weiter, vor allem um STL- oder Boost-Verständnis besser zu gewinnen.