Abstract
The STL (Standard Template Library) is one of the most useful
parts of the new Standard C++ library. Depending upon your
implementation, there may be certain aspects of how the STL works
that you might not be expecting. This is particularly true with
how some of the STL containers manage memory. This column
presents a couple of scenarios where the behavior of the default
implementation of the STL was both unexpected and undesireable.