Cool demo code from  The C++ Standard Library