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
More Buying Choices
Have one to sell? Sell yours here
or
Get a £16.00 Amazon.co.uk Gift Card
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 , Nicolai M. Josuttis
5.0 out of 5 stars  See all reviews (3 customer reviews)
RRP: £44.99
Price: £38.24 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £6.75 (15%)
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.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 9 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, June 7? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £28.68  
Hardcover £38.24  
Trade In this Item for up to £16.00
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in C++ Templates: The Complete Guide for an Amazon.co.uk gift card of up to £16.00, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
There is a newer edition of this item:
C++ Templates C++ Templates
£39.94
Available for pre-order

Frequently Bought Together

C++ Templates: The Complete Guide + The C++ Standard Library: A Tutorial and Reference + Effective STL: 50 Specific Ways to Improve the Use of the Standard Template Library (Professional Computing)
Price For All Three: £115.82

Show availability and delivery details

Buy the selected items together


Product details

  • Hardcover: 552 pages
  • Publisher: Addison Wesley; 1 edition (12 Nov 2002)
  • Language English
  • ISBN-10: 0201734842
  • ISBN-13: 978-0201734843
  • Product Dimensions: 18.7 x 3 x 23.5 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 139,509 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Product Description

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.

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

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(7)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
24 of 26 people found the following review helpful
By A Customer
Format:Hardcover
C++ templates form a much more complex piece of technology than their humble start as a tidier macro mechanism. Just about any C++ programmer these days touches them in some form, but there is a vast difference between using template libraries and writing them. The texts that describe templates seem to be either very simple ("this is how to use std::vector<>") or very detailed (such as Alexandrescu's excellent book) - Vandevoorde & Josuttis span just about all of the template world in their book, starting from the basic usage through to meta-programming techniques used in libraries such as Blitz++ and Boost.

As well as the theory of templates, and the practice of code-writing, there are valuable snippets such as detangling typical compiler error messages.

An excellent book for any intermediate to advanced C++ user, this book is more formal than Alexandrescu, but more readable than Czarnecki & Eisenecker: if you can get only one of those three, pick this one.

Comment | 
Was this review helpful to you?
17 of 19 people found the following review helpful
By A Customer
Format:Hardcover
This book provides a gentle introduction to templates from a number of angles:

- Production of template based code
- Use of templates as a design tool
- More complex (ab)uses of the template system

As someone who has used templates extensively in the past, I still found this book to be a useful read. It covers a range of topics that I hadn't thought about before in detail, pointing out the caveats of different techniques and motivating their use.

The book doesn't go in to compiler specific issues in any depth and avoids the well covered topic of the STL. Instead it provides a small number of more complex examples of template usage such as functors, tuples and expression templates. The book contains a large number of code examples, which makes understanding the content relatively straightforward. The writing style is informative and informal without trying to be the readers friend; as seems to be the aim of some computer book authors.

Overall it was pleasant and useful read.

Comment | 
Was this review helpful to you?
2 of 3 people found the following review helpful
Format:Hardcover
Truly a very good book.

Part I covers the basics. In particular, I found chapter 6 useful. I've not seen any other source of information on the machanisms of template instantiation that most of the C++ compilers available use.

Part II covers more advanced template usage, like template template parameters. Again, chapter 10 on Instantiation is very much grounded in practical use.

Part III moves on to idioms and the usage of templates. I found chapter 18 of particular use (for numerical computing with matrices, leading to Blitz).

The final part of the books covers techniques like type traits, smart pointers, tuples and functors (in the same vein as some of the boost libraries).
Comment | 
Was this review helpful to you?
Search Customer Reviews
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
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges