Last updated: 22-Apr-99
The STL was developed on SGI MIPSproTM C++ 7.0, 7.1, 7.2, and 7.2.1. If you are using the 7.0 compiler, you must compile using either the -n32 or the -64 flag; if you are using 7.1 or later, you may use -o32, -n32, or -64. The STL has also been tested on Microsoft Visual C++ 5.0, on g++ 2.8.1, and on recent egcs snapshots. All of the STL except for the <string>, <bitset>, and <valarray> headers has also been tested on Borland 5.02.
It should not be difficult to use the STL with other compilers that have good support for templates, especially compilers that use the EDG front end.
This distribution of the STL consists entirely of header files: there is no need to link to any library files. You can view or download a header file individually, or you can download all of them as a tar or zip file. (Note that v3 has many more header files than v1 and v2 did, because it provides both old-style and new-style header names. Many of the files in v3 are very short, and do little other than forwarding.)
View individual files
Download the entire STL (v3.2) as a tar file
Download the entire STL (v3.2) as a zip file
Download the entire STL (v3.2) as a tar file compressed with gzip
Download the entire STL (v3.13) as a tar file
Download the entire STL (v3.13) as a zip file
Download the entire STL (v3.13) as a tar file compressed with gzip
Download the entire STL (v3.12) as a tar file
Download the entire STL (v3.12) as a zip file
Download the entire STL (v3.12) as a tar file compressed with gzip
Download the entire STL (v3.11) as a tar file
Download the entire STL (v3.11) as a zip file
Download the entire STL (v3.11) as a tar file compressed with gzip
Download the entire STL (v3.0) as a tar file
Download the entire STL (v3.0) as a zip file
Download the entire STL (v3.0) as a tar file compressed with gzip
Download the entire STL (v2.03) as a tar file
Download the entire STL (v2.03) as a zip file
Download the entire STL (v2.03) as a tar file compressed with gzip
Download the entire STL documentation as a tar file
Download the entire STL documentation as a zip file
Download the entire STL documentation as a tar file compressed with gzip
SGI is also providing a version of the STL that has been modified so that it can be used with compilers that do not support default template parameters. It has been tested using Borland C++ 5.01 and Microsoft Visual C++ 4.2.
Note: you do not need this restricted version if you are using Microsoft Visual C++ 5.0 or Borland C++ 5.02, both of which are able to compile the regular version. Now that the ordinary version of the STL can be used with both Microsoft and Borland compilers, SGI is no longer updating the restricted version. It will remain available on this WWW site, but new features will not be added to it.
Download the entire STL (for older Microsoft and Borland compilers) as a tar file
Download the entire STL (for older Microsoft and Borland compilers) as a zip file
Copyright © 1996-1999
Silicon Graphics Computer Systems, Inc.
Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Copyright © 1994
Hewlett-Packard Company
Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard Company makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.