or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
27 used & new from £19.46

Have one to sell? Sell yours here
 
   
C++ Templates: The Complete Guide
 
 

C++ Templates: The Complete Guide (Hardcover)

by David Vandevoorde (Author), Nicolai M. Josuttis (Author)
5.0 out of 5 stars  See all reviews (3 customer reviews)
RRP: £43.99
Price: £30.83 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £13.16 (30%)
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 4 left in stock--order soon (more on the way).

Want guaranteed delivery by Thursday, February 11? Choose Express delivery at checkout. See Details
19 new from £30.83 8 used from £19.46

Frequently Bought Together

C++ Templates: The Complete Guide + The C++ Standard Library: A Tutorial and Reference + Effective C++: 55 Specific Ways to Improve Your Programs and Designs (Addison-Wesley Professional Computing Series)
Total RRP: £119.97
Price For All Three: £72.60

Show availability and delivery details


Customers Who Bought This Item Also Bought


Product details

  • Hardcover: 552 pages
  • Publisher: Addison Wesley (20 Nov 2002)
  • Language English
  • ISBN-10: 0201734842
  • ISBN-13: 978-0201734843
  • Product Dimensions: 23.6 x 19 x 2.6 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon.co.uk Sales Rank: 205,114 in Books (See Bestsellers in Books)

    Popular in this category:

    #25 in  Books > Computing & Internet > Programming > Languages > C & C++ > Introductory C++
  • See Complete Table of Contents

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
   CIPD CPP Qualification opens new browser window
www.dpgplc.co.uk  -  Fast Track 9 days & Guaranteed Pass Nationwide venues available now
   Freelance Web Programmers opens new browser window
www.peopleperhour.com/programming  -  1000s of rated web programmers on PeoplePerHour.com Get free quotes
   C++ Tutor opens new browser window
ComputerScienceTutoring.com  -  Homework and programming help Help from $15 per program
  
 

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 | Table of Contents | Excerpt | Back Cover
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)
 
cpp
templates
programming
cplusplus
software engineering
software development
programming languages
reference
c plus plus
advanced
tutorial

Your tags: Add your first tag
 


 

Customer Reviews

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

 
23 of 24 people found the following review helpful:
5.0 out of 5 stars One of the best books on C++ templates, 17 Dec 2002
By A Customer
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.

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


 
15 of 16 people found the following review helpful:
5.0 out of 5 stars Informative and comprehensive, 12 Dec 2002
By A Customer
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.

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


 
1 of 1 people found the following review helpful:
5.0 out of 5 stars Good mix of theory and practice, 22 May 2007
By Paul Floyd (Grenoble France) - See all my reviews
(REAL NAME)   
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).
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
 
 
 
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
 

   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


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.