or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
46 used & new from $41.49

Have one to sell? Sell yours here
 
   
C++ Templates: The Complete Guide
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

C++ Templates: The Complete Guide (Hardcover)

~ David Vandevoorde (Author), (Author)
4.8 out of 5 stars  See all reviews (29 customer reviews)

List Price: $74.99
Price: $42.30 & this item ships for FREE with Super Saver Shipping. Details
You Save: $32.69 (44%)
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 Thursday, November 12? Choose One-Day Shipping at checkout. Details
31 new from $42.00 15 used from $41.49

Formats

Amazon Price New from Used from
  Hardcover $42.30 $42.00 $41.49
  Paperback -- -- --

Frequently Bought Together

C++ Templates: The Complete Guide + The C++ Standard Library: A Tutorial and Reference + Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
Price For All Three: $147.62

Show availability and shipping details


Customers Who Bought This Item Also Bought

Modern C++ Design: Generic Programming and Design Patterns Applied

Modern C++ Design: Generic Programming and Design Patterns Applied

by Andrei Alexandrescu
4.4 out of 5 stars (69)  $33.84
Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library

Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library

by Scott Meyers
4.5 out of 5 stars (36)  $40.62
More Effective C++: 35 New Ways to Improve Your Programs and Designs

More Effective C++: 35 New Ways to Improve Your Programs and Designs

by Scott Meyers
4.4 out of 5 stars (39)  $28.19
C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond

C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond

by David Abrahams
3.7 out of 5 stars (11)  $31.63
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

by Scott Meyers
4.8 out of 5 stars (143)  $40.56
Explore similar items

Editorial Reviews

Product Description

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


Product Details

  • Hardcover: 552 pages
  • Publisher: Addison-Wesley Professional (November 22, 2002)
  • Language: English
  • ISBN-10: 0201734842
  • ISBN-13: 978-0201734843
  • Product Dimensions: 9.3 x 7.5 x 1 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (29 customer reviews)
  • Amazon.com Sales Rank: #144,975 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #71 in  Books > Computers & Internet > Microsoft > Development > C & C++ Windows Programming

More About the Author

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

Visit Amazon's Nicolai M. Josuttis Page

Look Inside This Book

What Do Customers Ultimately 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.
 
(7)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

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

 
42 of 45 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)   
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.)

Comment Comment (1) | Permalink | Was this review helpful to you? Yes No (Report this)



 
25 of 25 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 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.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
19 of 19 people found the following review helpful:
5.0 out of 5 stars A Definitive Reference to C++ Template Implementations, April 14, 2003
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.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

5.0 out of 5 stars very good book for template
This is a very good book for template. The book almost teaches you everything about template
Published 26 days ago by Jing Jiang

5.0 out of 5 stars exelent book !
This is book that covers areas of c++ , which are usualy not covered in common c++ books. Templates are fastest growing part of c++ language , which leads developing new libraries... Read more
Published 7 months ago by Miodrag Opacic

4.0 out of 5 stars Cater to the library builder niche
I think this is a high quality book. However, I do not see much use of it to the day-to-day application programmers. This book would be most useful to the library builders. Read more
Published 8 months ago by Yuanchyuan Sheu

5.0 out of 5 stars A gentle introduction --
-- to some of C++'s most brutal features. This certainly isn't a first C++ book for anyone; it assumes fluency in C++ and a working competence in the basics of templates and... Read more
Published 10 months ago by wiredweird

5.0 out of 5 stars If you were snobish about programming, you will have great respect for coding after you read it
He is my favorite author when it comes in coding. Very systematic and structured. C++ templates is not yet a mature domain and it is not that easy to program. Read more
Published 13 months ago by Nikolaos Vasiloglou

5.0 out of 5 stars Best book on templates
This is best book on C++ templates. C++ programmers who wants to learn modern template programming should start reading this book first, no more no less.
Published 16 months ago by Cumhur Guzel

5.0 out of 5 stars Another Great C++ Book from Josuttis
Vandevoorde and Josuttis have written by far the best book on C++ templates. Theirs is literally the only work out there that makes any sense of the utter mess that is C++... Read more
Published 17 months ago by David Baggett

5.0 out of 5 stars a real complete guide
I like all those description and examples: the topic may be complex, but really an interesting thing when enjoying it slowly.
Published 20 months ago by bookworm

5.0 out of 5 stars 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. Read more
Published on August 24, 2007 by K. Mehta

5.0 out of 5 stars 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... Read more
Published on May 28, 2007 by Raymond Tay

Only search this product's reviews



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
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.