📄 download.html
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Zafir Anjum">
<TITLE>MFC Programmer's SourceBook : STL Programmer's Guide</TITLE>
<META name="description"
content="A freely available implementation
of the C++ Standard Template Library, including
hypertext documentation.">
<META name="keywords"
content="generic programming, STL, standard template library">
</HEAD>
<SCRIPT LANGUAGE="JavaScript"><!--
var adcategory = "cpp";
// -->
</SCRIPT>
<body background="../../fancyhome/back.gif" bgcolor="#FFFFFF" >
<SCRIPT LANGUAGE="JavaScript"><!--
var nfrm = location.href.indexOf("_nfrm_");
var validframes = (top.frames.length > 0 && top.frames['ad'] && top.frames['logo'] );
var random = Math.random();
if( !validframes && nfrm == -1 )
{
var dclkPage = "www.codeguru.com/";
if( self.adcategory )
dclkPage += adcategory;
else
dclkPage += "mfc";
document.write('<nolayer><center>');
document.write('<iframe src="http://ad.doubleclick.net/adi/' + dclkPage + ';ord='
+ random + '" width=470 height=62 marginwidth=0 marginheight=0 hspace=0 vspace=0 '
+ 'frameborder=0 scrolling=no bordercolor="#000000">');
document.write('<a href="http://ad.doubleclick.net/jump/' + dclkPage + ';ord='
+ random + '">');
document.write('<img src="http://ad.doubleclick.net/ad/' + dclkPage + ';ord='
+ random + '" height=60 width=468>' + '</a>');
document.write('</iframe>');
document.write('</center></nolayer>');
document.write('<layer src="http://ad.doubleclick.net/adl/' + dclkPage +
';ord=' + random + '"></layer>');
document.write('<ilayer visibility=hide width=468 height=83></ilayer>');
}
// top.location = "/show.cgi?" + adcategory + "=" + location.pathname;
// -->
</SCRIPT>
<noscript>
<p align="center">
<a href="http://ad.doubleclick.net/jump/www.codeguru.com/cpp;ord=NupcI9FCY34AAHs57pc">
<img src="http://ad.doubleclick.net/ad/www.codeguru.com/cpp;ord=NupcI9FCY34AAHs57pc"></a>
</p>
</noscript>
<h1>Download STL source code</h1>
<P><Font Size="-1"><Address>
Last <A href="whats_new.html">updated</A>: 2-Feb-98
</Address></Font></P>
<P>
The STL was developed on SGI
MIPSpro<FONT SIZE="-1"><SUP>TM</SUP></FONT> 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 <tt>-n32</tt> or the <tt>-64</tt> flag; if you are
using 7.1 or later, you may use <tt>-o32</tt>, <tt>-n32</tt>,
or <tt>-64</tt>. 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> and <bitset>
headers has also been tested on Borland 5.02.
</P>
<P>
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.
</P>
<P>
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 <tt>tar</tt> or <tt>zip</tt> 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.)
</P>
<P>
<Font Size="+2">
View individual files
</Font>
</P>
<Center>
<Table Border>
<TR>
<TD><A Href="algo.h">algo.h</A></TD>
<TD><A Href="heap.h">heap.h</A></TD>
<TD><A Href="rope.h">rope.h</A></TD>
<TD><A Href="stl_function.h">stl_function.h</A></TD>
<TD><A Href="stl_rope.h">stl_rope.h</A></TD>
</TR>
<TR>
<TD><A Href="algobase.h">algobase.h</A></TD>
<TD><A Href="iterator/index.htm">iterator</A></TD>
<TD><A Href="ropeimpl.h">ropeimpl.h</A></TD>
<TD><A Href="stl_hash_fun.h">stl_hash_fun.h</A></TD>
<TD><A Href="stl_set.h">stl_set.h</A></TD>
</TR>
<TR>
<TD><A Href="algorithm/index.htm">algorithm</A></TD>
<TD><A Href="iterator.h">iterator.h</A></TD>
<TD><A Href="set/index.htm">set</A></TD>
<TD><A Href="stl_hash_map.h">stl_hash_map.h</A></TD>
<TD><A Href="stl_slist.h">stl_slist.h</A></TD>
</TR>
<TR>
<TD><A Href="alloc.h">alloc.h</A></TD>
<TD><A Href="limits/index.htm">limits</A></TD>
<TD><A Href="set.h">set.h</A></TD>
<TD><A Href="stl_hash_set.h">stl_hash_set.h</A></TD>
<TD><A Href="stl_stack.h">stl_stack.h</A></TD>
</TR>
<TR>
<TD><A Href="bitset/index.htm">bitset</A></TD>
<TD><A Href="list/index.htm">list</A></TD>
<TD><A Href="slist/index.htm">slist</A></TD>
<TD><A Href="stl_hashtable.h">stl_hashtable.h</A></TD>
<TD><A Href="stl_string_fwd.h">stl_string_fwd.h</A></TD>
</TR>
<TR>
<TD><A Href="bvector.h">bvector.h</A></TD>
<TD><A Href="list.h">list.h</A></TD>
<TD><A Href="slist.h">slist.h</A></TD>
<TD><A Href="stl_heap.h">stl_heap.h</A></TD>
<TD><A Href="stl_tempbuf.h">stl_tempbuf.h</A></TD>
</TR>
<TR>
<TD><A Href="char_traits.h">char_traits.h</A></TD>
<TD><A Href="map/index.htm">map</A></TD>
<TD><A Href="stack/index.htm">stack</A></TD>
<TD><A Href="stl_iterator.h">stl_iterator.h</A></TD>
<TD><A Href="stl_threads.h">stl_threads.h</A></TD>
</TR>
<TR>
<TD><A Href="defalloc.h">defalloc.h</A></TD>
<TD><A Href="map.h">map.h</A></TD>
<TD><A Href="stack.h">stack.h</A></TD>
<TD><A Href="stl_iterator_base.h">stl_iterator_base.h</A></TD>
<TD><A Href="stl_tree.h">stl_tree.h</A></TD>
</TR>
<TR>
<TD><A Href="deque/index.htm">deque</A></TD>
<TD><A Href="memory/index.htm">memory</A></TD>
<TD><A Href="stdexcept/index.htm">stdexcept</A></TD>
<TD><A Href="stl_list.h">stl_list.h</A></TD>
<TD><A Href="stl_uninitialized.h">stl_uninitialized.h</A></TD>
</TR>
<TR>
<TD><A Href="deque.h">deque.h</A></TD>
<TD><A Href="multimap.h">multimap.h</A></TD>
<TD><A Href="stl_algo.h">stl_algo.h</A></TD>
<TD><A Href="stl_map.h">stl_map.h</A></TD>
<TD><A Href="stl_vector.h">stl_vector.h</A></TD>
</TR>
<TR>
<TD><A Href="function.h">function.h</A></TD>
<TD><A Href="multiset.h">multiset.h</A></TD>
<TD><A Href="stl_algobase.h">stl_algobase.h</A></TD>
<TD><A Href="stl_multimap.h">stl_multimap.h</A></TD>
<TD><A Href="string/index.htm">string</A></TD>
</TR>
<TR>
<TD><A Href="functional/index.htm">functional</A></TD>
<TD><A Href="numeric/index.htm">numeric</A></TD>
<TD><A Href="stl_alloc.h">stl_alloc.h</A></TD>
<TD><A Href="stl_multiset.h">stl_multiset.h</A></TD>
<TD><A Href="tempbuf.h">tempbuf.h</A></TD>
</TR>
<TR>
<TD><A Href="hash_map/index.htm">hash_map</A></TD>
<TD><A Href="pair.h">pair.h</A></TD>
<TD><A Href="stl_bvector.h">stl_bvector.h</A></TD>
<TD><A Href="stl_numeric.h">stl_numeric.h</A></TD>
<TD><A Href="tree.h">tree.h</A></TD>
</TR>
<TR>
<TD><A Href="hash_map.h">hash_map.h</A></TD>
<TD><A Href="pthread_alloc/index.htm">pthread_alloc</A></TD>
<TD><A Href="stl_config.h">stl_config.h</A></TD>
<TD><A Href="stl_pair.h">stl_pair.h</A></TD>
<TD><A Href="type_traits.h">type_traits.h</A></TD>
</TR>
<TR>
<TD><A Href="hash_set/index.htm">hash_set</A></TD>
<TD><A Href="pthread_alloc.h">pthread_alloc.h</A></TD>
<TD><A Href="stl_construct.h">stl_construct.h</A></TD>
<TD><A Href="stl_queue.h">stl_queue.h</A></TD>
<TD><A Href="utility/index.htm">utility</A></TD>
</TR>
<TR>
<TD><A Href="hash_set.h">hash_set.h</A></TD>
<TD><A Href="queue/index.htm">queue</A></TD>
<TD><A Href="stl_deque.h">stl_deque.h</A></TD>
<TD><A Href="stl_raw_storage_iter.h">stl_raw_storage_iter.h</A></TD>
<TD><A Href="vector/index.htm">vector</A></TD>
</TR>
<TR>
<TD><A Href="hashtable.h">hashtable.h</A></TD>
<TD><A Href="rope/index.htm">rope</A></TD>
<TD><A Href="stl_exception.h">stl_exception.h</A></TD>
<TD><A Href="stl_relops.h">stl_relops.h</A></TD>
<TD><A Href="vector.h">vector.h</A></TD>
</TR>
</Table>
</Center>
<P>
<Font Size="+2">
<A href="stl.tar">Download the entire STL (v3.12) as a <tt>tar</tt> file</A>
</Font>
</p>
<P>
<Font Size="+2">
<A href="stl.zip">Download the entire STL (v3.12) as a <tt>zip</tt> file</A>
</Font>
</p>
<P>
<Font Size="+2">
<A href="stl.tar.gz">Download the entire STL (v3.12) as a <tt>tar</tt>
file compressed with <tt>gzip</tt></A>
</Font>
</p>
<HR>
<Font Size="-1">
<P>
Copyright © 1996, 1997
<BR Clear>
Silicon Graphics Computer Systems, Inc.
</P>
<P>
<i>
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.
</i>
</P>
<P>
Copyright © 1994
<BR Clear>
Hewlett-Packard Company
</P>
<P>
<i>
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.
</i>
</P>
</Font>
<!-- Created: Thu Sep 26 18:44:40 PDT 1996 -->
<HR SIZE="6"> <FONT SIZE="-2"> Copyright © 1996 Silicon Graphics, Inc.
<HR>
<TABLE BORDER=0 WIDTH="100%" >
<TR>
<TD WIDTH="33%"><FONT SIZE=-1><A HREF="index.html" >
STL</A></FONT></TD>
<TD WIDTH="33%">
<CENTER><FONT SIZE=-2>© Copyright 1997-1998 CodeGuru</FONT> </CENTER>
</TD>
<TD WIDTH="34%">
<DIV ALIGN=right><FONT SIZE=-1>Contact : <A HREF="mailto:webmaster@codeguru.com">webmaster@codeguru.com</A> </FONT></DIV>
</TD>
</TR>
</TABLE>
<SCRIPT LANGUAGE="JavaScript" ><!--
var adurl = "/cgi-bin/doubleclick.cgi?";
if( self.adcategory )
adurl += adcategory;
else
adurl += "mfc";
if( self.parent.norefreshad )
parent.norefreshad = false;
else if( validframes )
parent.frames['ad'].location = adurl;
if( !validframes && nfrm == -1)
{
var dclkPage = "www.codeguru.com/";
if( self.adcategory )
dclkPage += adcategory;
else
dclkPage += "mfc";
// var random = Math.random();
document.write('<nolayer><center>');
document.write('<iframe src="http://ad.doubleclick.net/adi/' + dclkPage + ';ord='
+ random + '" width=470 height=62 marginwidth=0 marginheight=0 hspace=0 vspace=0 '
+ 'frameborder=0 scrolling=no bordercolor="#000000">');
document.write('<a href="http://ad.doubleclick.net/jump/' + dclkPage + ';ord='
+ random + '">');
document.write('<img src="http://ad.doubleclick.net/ad/' + dclkPage + ';ord='
+ random + '" height=60 width=468>' + '</a>');
document.write('</iframe>');
document.write('</center></nolayer>');
document.write('<layer src="http://ad.doubleclick.net/adl/' + dclkPage +
';ord=' + random + '"></layer>');
document.write('<ilayer visibility=hide width=468 height=83></ilayer>');
}
// -->
</SCRIPT>
<!-- SCRIPT LANGUAGE="JavaScript" SRC="/global/fscript.js">
//
</SCRIPT -->
<noscript>
<p align="center">
<a href="http://ad.doubleclick.net/jump/www.codeguru.com/cpp;ord=NupcI9FCY34AAHs57pc">
<img src="http://ad.doubleclick.net/ad/www.codeguru.com/cpp;ord=NupcI9FCY34AAHs57pc"></a>
</p>
</noscript>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -