Apache C++ Standard Library User's Guide
Chapter 17: The Traits Parameter
17.1 Defining the Problem
17.2 Using the Traits Technique