The Standard Template Library

Copyright (c) 1994
Rensselaer Polytechnic Institute

This notice applies to all material accessible from this page except books, documents or source code bearing other copyright notices.

Much of the material accessible from this page is also available at in compressed postscript files for hard copy printing and some of it in plain text (ASCII) files. Either follow the above link or ftp to with username anonymous, do binary, then cd pub/stl. The main file is, which contains the STL Generic Algorithm Reference and most of the other material except papers and reports, which are in separate files (see the README file there). There are minor differences between the postscript and ASCII files and the material in these Web pages.

These pages contain detailed descriptions of STL generic algorithms, but only brief overviews of containers and iterators. (Not discussed at all are function objects, adaptors, and allocators.) For much more complete descriptions of all STL components, with many example programs, see D.R. Musser and Atul Saini, STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library, Addison-Wesley, Reading, MA, 1996. (Available now.) In connection with the book, see also Source code resources and Errata list.