SGI

Download STL source code

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

algo.h hash_set.h pthread_alloc stl_alloc.h stl_map.h stl_threads.h
algobase.h hashtable.h pthread_alloc.h stl_bvector.h stl_multimap.h stl_tree.h
algorithm heap.h queue stl_config.h stl_multiset.h stl_uninitialized.h
alloc.h iterator rope stl_construct.h stl_numeric.h stl_vector.h
bitset iterator.h rope.h stl_deque.h stl_pair.h string
bvector.h limits ropeimpl.h stl_exception.h stl_queue.h tempbuf.h
char_traits.h list set stl_function.h stl_range_errors.h tree.h
defalloc.h list.h set.h stl_hash_fun.h stl_raw_storage_iter.h type_traits.h
deque map slist stl_hash_map.h stl_relops.h utility
deque.h map.h slist.h stl_hash_set.h stl_rope.h valarray
function.h memory stack stl_hashtable.h stl_set.h vector
functional multimap.h stack.h stl_heap.h stl_slist.h vector.h
hash_map multiset.h stdexcept stl_iterator.h stl_stack.h  
hash_map.h numeric stl_algo.h stl_iterator_base.h stl_string_fwd.h  
hash_set pair.h stl_algobase.h stl_list.h stl_tempbuf.h  

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 STL documentation

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

Download the entire STL (for older Microsoft and Borland compilers) as a tar file compressed with gzip


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.


[Silicon Surf] [STL Home]
Copyright © 1999 Silicon Graphics, Inc. All Rights Reserved. TrademarkInformation webmaster@www.sgi.com