Software Design Using C++

An Online Book

Old Version -- No Longer Maintained

Please Refer to the New Version

The Standard Template Library

The Standard Template Library (STL) is a fairly recent and powerful addition to C++. Through the use of template-based container classes, iterators, algorithms, etc. the STL allows one to easily use common data structures such as lists and stacks that have already been implemented for you. In addition, one can use the STL to create various kinds of stacks, for example, within the same program. (Thus you could have a stack of floats and a stack of characters.)

The STL is large and somewhat complex. Only some of its features will be presented here. See the references below for further information. Some of the items not examined in these Web pages include certain container classes (such as deques, sets, and multimaps), some of the available class functions and algorithms, function objects, and allocators.

STL Topics

References:


Back to the main Software Design Page