C++ Templates: The Complete Guide by DavidVandevoorde? & NicolaiJosuttis? AddisonWesley 2003
This is a comprehensive guide to the nuts and bolts of CeePlusPlus templates. It fits in well alongside some of the books in the CppInDepthSeries which show how various techniques can be applied.
One thing which is in here I have never seen anywhere else. It is the idea of PromotionTraits, which permit control of the return type of a function depending upon the type of the arguments. I have been able to use this to resolve some difficult problems of OperatorOverloading. -- JohnFletcher
TheCppStandardLibrary is also by Josuttis. There is now a new edition of that.
See also TooFewTemplateParameterLists SubstitutionFailureIsNotAnError ArgumentDependentNameLookup