Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2008-07-16 15:59:34


Author: nesotto
Date: 2008-07-16 15:59:34 EDT (Wed, 16 Jul 2008)
New Revision: 47482
URL: http://svn.boost.org/trac/boost/changeset/47482

Log:
doc updates
Added:
   trunk/libs/range/doc/upgrading.html (contents, props changed)
Text files modified:
   trunk/libs/range/index.html | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Added: trunk/libs/range/doc/upgrading.html
==============================================================================
--- (empty file)
+++ trunk/libs/range/doc/upgrading.html 2008-07-16 15:59:34 EDT (Wed, 16 Jul 2008)
@@ -0,0 +1,78 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+ <title>Boost.Range Upgrading </title> <link rel="stylesheet"
+ href="style.css" type="text/css">
+</head>
+
+ <body>
+
+ <table border="0" >
+ <tr>
+ <td ><img src="../../../boost.png" border="0" ></td>
+ <td ><h1 align="center">Boost.Range </h1></td>
+ </tr>
+ </table>
+
+ <h2 >Upgrading from Boost v. 1.34.*</h2><a name="v1.34" ></a>
+ <p >
+ Boost v. 1.35 introduced some larger refactorings of the library:
+ </p>
+ <ul >
+ <li>Direct support for character arrays was abandoned in favor of
+ uniform treatment of all arrays. Instead string algorithms can use
+ the new function <a
+ href="boost_range.html#as_literal">as_literal()</a>.</li>
+ <li><a
+ href="file:///D:/boost/trunk/libs/range/doc/boost_range.html#size">boost::size()</a> now requires a Random Access Range. The old behavior is provided as <a
+ href="file:///D:/boost/trunk/libs/range/doc/boost_range.html#distance">boost::distance()</a> </li>
+ <li> <code>range_size&lt;T&gt;::type</code> has been completely removed
+ in favor of <code>range_difference&lt;T&gt;::type</code>
+ <li>
+ <code>boost_range_begin()</code> and <code>boost_range_end()</code>
+ have been renamed <code>range_begin()</code> and <code>range_begin()</code>, respectively.</li>
+
+
+ <li><code>range_result_iterator&lt;T&gt;::type</code> and
+ <code>range_reverse_result_iterator&lt;T&gt;::type</code> are have
+ been renamed
+ <code>range_iterator&lt;T&gt;::type</code> and
+ <code>range_reverse_iterator&lt;T&gt;::type</code>.
+ </li>
+ <li>The procedure that makes a custom type work with the library
+ has been greatly simplified. See <a
+ href="boost_range.html#minimal_interface">extending the library </a>
+ for details.</li>
+ </ul>
+
+
+ <hr>
+ <p>
+ &copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
+ </p>
+
+ <p>
+ Distributed under the Boost Software License, Version 1.0. (See
+ accompanying file LICENSE_1_0.txt or copy at <a href=
+ "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)
+ </p>
+
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+
+
+ </body>
+</html>
+

Modified: trunk/libs/range/index.html
==============================================================================
--- trunk/libs/range/index.html (original)
+++ trunk/libs/range/index.html 2008-07-16 15:59:34 EDT (Wed, 16 Jul 2008)
@@ -55,6 +55,8 @@
           <li><a href="doc/mfc_atl.html">MFC/ATL mapping (courtesy of Shunsuke
               Sogame)</a></li>
       <li>Portability
+ <li><a href="doc/upgrading.html">Upgrading from Boost v.
+ 1.34.*</a></li>
       <li>FAQ
       <li>History and acknowledgment
           


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk