⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 whats_new.html

📁 指导程序员合理、高效的进行标准模板库编程。
💻 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=NupcKNFCY34AAHxurk4">
<img src="http://ad.doubleclick.net/ad/www.codeguru.com/cpp;ord=NupcKNFCY34AAHxurk4"></a>
</p>
</noscript>






<h1>What's New</h1>

<H2>Release 3.12: February 2, 1999</H2>
<P>
<UL>
<LI> Minor bug fixes.
<LI> The <A Href="string/index.htm">&lt;string&gt;</A> and 
     <A Href="bitset/index.htm">&lt;bitset&gt;</A> headers are now supported on
     compilers that lack full support for member templates and partial 
     specialization, such as Microsoft v6.0.
<LI> Code to support multithreading has been consolidated in a single
     file, so that system dependences are better isolated.
</UL>

<H2>Release 3.11: July 21, 1998</H2>
<UL>
<LI> Minor bug fixes.
<LI> Faster <tt>operator[]</tt> in <tt><A href="Map.html">map</A></tt>.
<LI> Algorithmic improvements in <tt><A href="find.html">find</A></tt>,
     <tt><A href="find_if.html">find_if</A></tt>, and <tt><A href="partition.html" tppabs="http://www.sgi.com/Technology/STL/partition.shtml">partition</A></tt>.
<LI> The <A Href="stdexcept/index.htm">standard exception hierarchy</A> is
     now usable on compilers that do not provide an
     <tt>&lt;exception&gt;</tt> header.
</UL>

<H2>Release 3.1: June 9, 1998</H2>
This release provides several new features.
<UL>
<LI> Standard-conforming <tt><A href="basic_string.html">string</A></tt> and 
     <tt><A href="bitset.html">bitset</A></tt> classes, and the 
     <A Href="stdexcept/index.htm">standard exception hierarchy</A>.
<LI> Standard-conforming allocators, including the default allocator
     class <tt>allocator&lt;T&gt;</tt>.  All containers now use
     standard allocators, and all containers now support allocators
     whose instances are distinct.  Old-style allocators, like <tt>alloc</tt>,
     are still supported for backward compatibility.
<LI> Algorithmic improvements in <tt><A href="search.html">search</A></tt>.
<LI> All sequences now support the <tt>resize</tt> and <tt>assign</tt>
     member functions.  All sequences now properly support overloaded 
     <tt>insert</tt> member functions and constructors in the presence 
     of member templates.
<LI> Bug fixes in <tt><A href="Rope.html">rope</A></tt>, and minor bug fixes elsewhere.
     Minor changes for standard conformance.
<LI> Standard-conforming <tt>auto_ptr</tt> class.
<LI> Internal names, such as names of function and template
     parameters, have been changed so that they cannot conflict with
     user names (including user macros).
</UL>

<H2>Release 3.01: October 31, 1997</H2> 
This is a minor release.  It consists only of bug fixes (the most
important ones are in <tt><A href="Rope.html">rope</A></tt>), small changes to reflect
changes in the Final Draft International Standard (FDIS), and
performance improvements in single-element insertion into containers.


<H2>Release 3.0: October 31, 1997</H2>
<UL> 
<LI> Major reorganization of header files.  Headers now have the names
     described in the draft C++ standard.  (Old header names are
     provided as well for backward compatibility.)  The new-style
     headers declare their contents in namespace <tt>std</tt>; the
     old-style headers do too, but they import those declarations into
     the global namespace with using declarations.  So, for example,
     <tt>#include &lt;vector.h&gt;</tt> is roughly equivalent to
     <tt>#include &lt;vector&gt;</tt> followed by the declaration
     <tt>using std::vector;</tt>.
<P>
     Note that namespace <tt>std</tt> is only enabled for compilers
     whose support for namespaces is sufficient; this is controlled by
     the header <tt>&lt;stl_config.h&gt;</tt>.  

<LI> Bug fixes, and minor changes for standard conformance.
</UL>

<H2>Release 2.03: September 9, 1997</H2>
<UL>
<LI> Bug fixes, most importantly in <tt><A href="Rope.html">rope</A></tt>.
<LI> New version of <tt>reverse_iterator</tt> that takes only a single
     template parameter, as described in the draft standard.  (This 
     relies on <tt><A href="iterator_traits.html">iterator_traits</A></tt>, so you can only use
     the new version of <tt>reverse_iterator</tt> if your compiler 
     supports partial specialization.)
<LI> New algorithms: <tt><A href="find_first_of.html">find_first_of</A></tt>,
     <tt><A href="search_n.html">search_n</A></tt>, <tt><A href="find_end.html" tppabs="http://www.sgi.com/Technology/STL/find_end.shtml">find_end</A></tt>
<LI> Changed the <A href="iterator_tags.html">iterator tag</A> classes so that they form an
     inheritance hierarchy.
<LI> Added the <tt>-&gt;</tt> operator to all predefined iterators 
     (except for output iterators).
</UL>

<H2>Release 2.02: July 31, 1997</H2>

<UL>
<LI>Bug fixes, most importantly in 
    <tt><A Href="Rope.html">rope</A></tt> and
    <tt><A Href="Deque.html">deque</A></tt>.
<LI>New feature: function object adaptors for member functions.  
    This is a family of classes: 
    <tt><A Href="mem_fun_t.html">mem_fun_t</A></tt>,
    <tt><A Href="mem_fun_ref_t.html">mem_fun_ref_t</A></tt>,
    <tt><A Href="mem_fun1_t.html">mem_fun1_t</A></tt>,
    <tt><A Href="mem_fun1_ref_t.html">mem_fun1_ref_t</A></tt>.
</UL>

<H2>Release 2.01: June 30, 1997</H2>

Bug fixes only, no new features.

<H2>Release 2.0: June 13, 1997</H2>

This is a major release, with many new features.  Here are some of the
most important.

<UL>
<LI>Exception safety.  All STL components are now exception safe.
<LI>New container class: <tt><A Href="Rope.html">rope</A></tt>.  A scalable
    string representation.
<LI>New container class: <tt><A Href="Slist.html">slist</A></tt>.  Singly
    linked lists.
<LI>Member templates.  If your compiler supports member templates,
    then you will be able to use the fully general form of containers'
    copy constructors and <tt>insert</tt> member functions.
<LI>New mechanism for accessing <A href="Iterators.html">iterators</A>' 
    associated type information: <tt><A Href="iterator_traits.html">iterator_traits</A></tt>.
    (Note: you can only use <tt><A Href="iterator_traits.html">iterator_traits</A></tt>
    if your compiler supports "partial specialization".)  
    The algorithms
    <tt><A href="count.html">count</A></tt>, <tt><A href="count_if.html" tppabs="http://www.sgi.com/Technology/STL/count_if.shtml">count_if</A></tt>,
    and <tt><A href="distance.html">distance</A></tt> have been rewritten in
    terms of <tt><A Href="iterator_traits.html">iterator_traits</A></tt>.
<LI>Reimplementation of <tt><A Href="Deque.html">deque</A></tt>.  
    <tt><A Href="Deque.html">deque</A></tt> has been completely rewritten,
    for higher performance.
<LI><tt>type_traits</tt> mechanism, which allows omission of null
    constructor and destructor calls.
<LI>New <tt><A href="temporary_buffer.html">temporary_buffer</A></tt>
    class.  This was partially motivated by exception safety, but it
    is also more convenient and more efficient than the old 
    <tt><A href="get_temporary_buffer.html">get_temporary_buffer</A></tt>
    and <tt><A href="return_temporary_buffer.html">return_temporary_buffer</A></tt>
    functions.
<LI>New allocator, <tt>debug_alloc</tt>, which is useful for verifying
    the correctness of memory allocation and deallocation.
<LI>New algorithms: 
    <tt><A href="copy_n.html">copy_n</A></tt>, 
    <tt><A href="lexicographical_compare_3way.html">lexicographical_compare_3way</A></tt>,
    <tt><A href="power.html">power</A></tt>,
    <tt><A href="uninitialized_copy_n.html">uninitialized_copy_n</A></tt>.
<LI>Greater portability.  The SGI STL can now be compiled using
    Microsoft Visual C++ 5.0, and Borland C++ 5.02; it should not be
    difficult to port it to any other compiler that has good support
    for templates.  (Specifically, any compiler that has default template
    parameters.)  Most compiler-specific code is isolated in the file
    <tt>stl_config.h</tt>.
</UL>

<HR SIZE="6"> <FONT SIZE="-2"> Copyright &copy; 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>&copy; Copyright 1997-1998 CodeGuru</FONT>&nbsp;</CENTER>
</TD>

<TD WIDTH="34%">
<DIV ALIGN=right><FONT SIZE=-1>Contact : <A HREF="mailto:webmaster@codeguru.com">webmaster@codeguru.com</A>&nbsp;</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=NupcKNFCY34AAHxurk4">
<img src="http://ad.doubleclick.net/ad/www.codeguru.com/cpp;ord=NupcKNFCY34AAHxurk4"></a>
</p>
</noscript>





</BODY>
</HTML>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -