forked from boostorg/range
doc updates
[SVN r47482]
This commit is contained in:
78
doc/upgrading.html
Normal file
78
doc/upgrading.html
Normal file
@ -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<T>::type</code> has been completely removed
|
||||||
|
in favor of <code>range_difference<T>::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<T>::type</code> and
|
||||||
|
<code>range_reverse_result_iterator<T>::type</code> are have
|
||||||
|
been renamed
|
||||||
|
<code>range_iterator<T>::type</code> and
|
||||||
|
<code>range_reverse_iterator<T>::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>
|
||||||
|
© <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>
|
||||||
|
|
@ -55,6 +55,8 @@
|
|||||||
<li><a href="doc/mfc_atl.html">MFC/ATL mapping (courtesy of Shunsuke
|
<li><a href="doc/mfc_atl.html">MFC/ATL mapping (courtesy of Shunsuke
|
||||||
Sogame)</a></li>
|
Sogame)</a></li>
|
||||||
<li><a href="doc/portability.html">Portability</a>
|
<li><a href="doc/portability.html">Portability</a>
|
||||||
|
<li><a href="doc/upgrading.html">Upgrading from Boost v.
|
||||||
|
1.34.*</a></li>
|
||||||
<li><a href="doc/faq.html">FAQ</a>
|
<li><a href="doc/faq.html">FAQ</a>
|
||||||
<li><a href="doc/history_ack.html">History and acknowledgment</a>
|
<li><a href="doc/history_ack.html">History and acknowledgment</a>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user