tags:

views:

264

answers:

6

I saw Scott Meyers' "Effective C++" third edition book having a small section on "Template Programming".

Any other book/links containing information on "effective" usage of templates ?

+2  A: 

I quite like C++ Template Metaprogramming by Abrahams and Gurtovoy.

Tony Edgecombe
+10  A: 
smink
+8  A: 

Vandevoorde / Josuttis 'C++ Templates the Complete Guide' is very accessible.

fizzer
+4  A: 

C++ Templates - The Complete Guide. Alexandrescu's Modern C++ Design is very good, but I wouldn't recommend it unless you're already familiar with templates. It's also geared more to C++ Framework creators.

ilitirit
+1  A: 

Scott Meyers deals with the Standard Template Library in Effective STL. That may be relevant for you.

Stephen W. Carson
+1  A: 

A rarely mentioned but solid book is C++ Common Knowledge by Stephen C. Dewhurst. "Among the first users of C++ at Bell Labs", Dewhurst gives the book a somewhat deceptive title because he actually covers quite a bit of advanced material in particular in regards to templates.

Dewhurst's book is organized similarly to Meyers's with 63 "Items" that you can usefully read on their own. On templates you should look over items 45-59 (about 70 pages of reading).

Stephen W. Carson