Pages

Sunday, February 24, 2008

C++ Templates: The Complete Guide by David Vandevoorde


Product Details
Amazon Sales Rank: #48901 in Books
Published on: 2002-11-22
Number of items: 1
Binding: Hardcover
552 pages
Editorial Reviews

Book Info
The first book to provide complete and accurate information on using templates in C++. A complete reference as well as a tutorial. Includes real-world examples. Every working C++ programmer will need a copy of this book for his or her library.

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.

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++.

The companion Web site at http://www.josuttis.com/tmplbook/ contains sample code and additional updates.


0201734842B09172002

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.


0201734842AB09172002
Customer Reviews

Best book on C++ templates
I used the book when I was working on templates. Book is very clear and concise with proper layout of chapters. I was able to read relevant sections and get clear understanding. It is possible to get all information by reading C++ specs and other sources, but having this one book is a real time saver.

If you work on templates and have some doubts ever then have this book next to you.

You have gotta READ it
The title says it all :)

To keep it really short and sweet, learning about C++ templates is really painful till this book came along :)

It's my opinion that advanced C++ developers use this book to guide them in understanding and navigating the world of C++ templates. It's simply easy to read and it has amazing clear presentations

Too much to say about templates with not enough good reference materials on the topic!
Before this book, most C++ textbook were at most devoting one chapter on templates which clearly is not enough to cover a topic as complex as the C++ templates. The C++ Templates book is filling this void nicely and one of the coauthor of the book is the author of my favorite STL book The C++ Standard Library: A Tutorial and Reference. The book has 4 parts: The basics, templates in depth, templates and design and finally advanced applications. Personnally, I found the 2 last parts good but less interesting because I think that other books such as Modern C++ Design: Generic Programming and Design Patterns Applied do a better job to cover templates applications.

Where this book really shines is the first part that covers the C++ templates syntax very well. With a capricious syntax like the templates one, a good reference is essential. One example that come to my mind is when I was trying to declare a friend template function from a class template. That sounds like a simple thing to do but it is not. The syntax rules for this declaration are, to my opinion, far to be intuitive and hard to find in regular textbooks. With the help of this book I have finally been able to fix my friend template function declaration and make my compiler happy.