C++ Templates: The Complete Guide and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
C++ Templates: The Complete Guide
 
 
Start reading C++ Templates: The Complete Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C++ Templates: The Complete Guide [Hardcover]

David Vandevoorde (Author), Nicolai M. Josuttis (Author)
4.8 out of 5 stars  See all reviews (31 customer reviews)

List Price: $79.99
Price: $49.20 & this item ships for FREE with Super Saver Shipping. Details
You Save: $30.79 (38%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $43.99  
Hardcover $49.20  
Paperback --  
There is a newer edition of this item:
C++ Templates C++ Templates
Sign up to be notified when this item becomes available.

Book Description

0201734842 978-0201734843 November 22, 2002 1
This book will be the next C++ classic. Although templates have been part of C++ for well over a decade, they still lead to misunderstanding, misuse, and controversy. At the same time, they are increasingly found to be powerful instruments for the development of cleaner, faster, and smarter software. This has made templates one of the hottest topics in the C++ community. This book will be both a complete reference as well as a tutorial. It will emphasize the practical use of templates, and will include real-world examples. Every working C++ programmer will need a copy of this book for his or her library.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

C++ Templates: The Complete Guide + Modern C++ Design: Generic Programming and Design Patterns Applied + Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)
Price For All Three: $127.24

Show availability and shipping details

Buy the selected items together


Editorial Reviews

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

Product Details

  • Hardcover: 552 pages
  • Publisher: Addison-Wesley Professional; 1 edition (November 22, 2002)
  • Language: English
  • ISBN-10: 0201734842
  • ISBN-13: 978-0201734843
  • Product Dimensions: 9.5 x 7.5 x 1.2 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Best Sellers Rank: #223,654 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

31 Reviews
5 star:
 (26)
4 star:
 (4)
3 star:    (0)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (31 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

34 of 34 people found the following review helpful:
5.0 out of 5 stars Comprehensive and Thorough, January 1, 2003
By 
"microtherion" (Sim City, CA (Somewhere in the Bay Area)) - See all my reviews
This review is from: C++ Templates: The Complete Guide (Hardcover)
This is a book that the C++ community has been in need of for several years, and it seems that an ideal team of authors has come together for this: Nicolai Josuttis again contributes the thoroughness and lucid writing that has made his earlier book _The C++ Standard Library_ such a pleasure to read, and David Vandevoorde contributes historical background about the evolution of C++ standard and its implementations that help to understand some of the peculiarities of how C++ works today and some of the directions it's likely to evolve in.

The book is divided into 4 parts. Part I gives a basic overview of the template mechanisms in C++ and part II goes into more detail on this. Part III applies templates to standard problems, while part IV covers more exotic uses of templates similar to what is discussed in Alexandrescu's _Modern C++ Design_. Even for a reasonably experienced template user like me, there were many details I learned even from the most fundamental part I.

This is a near perfect book (apart from a few apparent bugs in the code examples that hopefully will get corrected) that will greatly benefit any programmer who works with template based code.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


56 of 60 people found the following review helpful:
5.0 out of 5 stars You'll laugh, you'll cry, you'll fall down..., November 26, 2002
By 
Hyman Rosen (New York, NY United States) - See all my reviews
(REAL NAME)   
This review is from: C++ Templates: The Complete Guide (Hardcover)
Templates are increasingly becoming one of the most important
aspects of C++ programming, and are the central feature of the
most creative and innovative new C++ projects.

They are reasonably simple in concept, but in the effort to make
them behave "intuitively" for common cases, the actual rules that
describe what they do are hideously complicated. A guide for the
perplexed was sorely needed, and fortunately, has now appeared.

I'm no slouch at the subject myself, but I learned a few things
that I had no inkling of before, just on a casual reading of the
first few chapters. (Although the main thing I am learning once
again is just how insanely stupid C++ syntax is, and how awful
was the choice of angle brackets for template delimiters.) The
authors are experts on the subject, and the material is presented
clearly, with many examples, and above all correctly.

This is another must-have book for people who want to understand
all of C++. (Not that that's possible, except for perhaps half a
dozen people or so. I'll bet more people understand General
Relativity.)

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


25 of 25 people found the following review helpful:
5.0 out of 5 stars A Definitive Reference to C++ Template Implementations, April 14, 2003
This review is from: C++ Templates: The Complete Guide (Hardcover)
Hi,

David Vandevoorde and Nicolai Josuttis write a definitive reference to C++ template implementations. This book comprises of four key sections including fundamental template implementations, in-depth template implementations, template designs, and advanced template designs (libraries). The authors are extremely thorough in their explanations of all essential template implementation techniques and provide an unprecedented in-depth analysis on C++ template parameters, arguments, specialization, and overloading. The analysis on these techniques is very valuable. One reason is because in most cases the authors include examples of implementations that do not work and then provide working solutions. For example, they discuss template argument deduction processes especially for template function overloading. There is even a chapter where they analyze C++ compilers and different template instantiation models. In C++ Templates: The Complete Guide, the authors discuss essential C++ template designs and implementation techniques and provide valuable analysis along with some of the more important topics, making this book a definitive reference to C++ template implementations.

In section three and four, Vandevoorde and Josuttis discuss and demonstrate powerful C++ designs utilizing C++ template techniques from previous sections. Topics and examples in these sections incorporate advanced C++ template designs and implementations similar to the foundation of the STL. One example is element binding as in std::pair.

I recommend C++ Templates: The Complete Guide to all real-world C++ programmers.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(11)
(2)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject