5f79900dcc
Relates #59
60 lines
4.8 KiB
HTML
60 lines
4.8 KiB
HTML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<!-- Copyright Aleksey Gurtovoy 2006. Distributed under the Boost -->
|
|
<!-- Software License, Version 1.0. (See accompanying -->
|
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="generator" content="Docutils 0.3.6: http://docutils.sourceforge.net/" />
|
|
<title>THE BOOST MPL LIBRARY: Iterator Protocol</title>
|
|
<link rel="stylesheet" href="../style.css" type="text/css" />
|
|
</head>
|
|
<body class="docframe">
|
|
<table class="header"><tr class="header"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./apply-lambda-semantics.html" class="navigation-link">Prev</a> <a href="./tag-dispatching-protocol.html" class="navigation-link">Next</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./apply-lambda-semantics.html" class="navigation-link">Back</a> <a href="./tag-dispatching-protocol.html" class="navigation-link">Along</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./changes-in-boost-1-32-0.html" class="navigation-link">Up</a> <a href="../index.html" class="navigation-link">Home</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./tutorial_toc.html" class="navigation-link">Full TOC</a></span></td>
|
|
<td class="header-group page-location"><a href="../index.html" class="navigation-link">Front Page</a> / <a href="./changelog-history.html" class="navigation-link">Changelog & History</a> / <a href="./changes-in-boost-1-32-0.html" class="navigation-link">Changes in Boost 1.32.0 Release</a> / <a href="./iterator-protocol.html" class="navigation-link">Iterator Protocol</a></td>
|
|
</tr></table><div class="header-separator"></div>
|
|
<div class="section" id="iterator-protocol">
|
|
<h1><a class="toc-backref" href="./changes-in-boost-1-32-0.html#id65" name="iterator-protocol">Iterator Protocol</a></h1>
|
|
<p>The library no longer guarantees or relies on the direct presence
|
|
of <tt class="literal"><span class="pre">advance</span></tt> / <tt class="literal"><span class="pre">distance</span></tt> / <tt class="literal"><span class="pre">next</span></tt> / <tt class="literal"><span class="pre">prior</span></tt> / <tt class="literal"><span class="pre">type</span></tt>
|
|
members in iterator types; the following table summarises the new
|
|
requirements:</p>
|
|
<table border="1" class="table">
|
|
<colgroup>
|
|
<col width="50%" />
|
|
<col width="50%" />
|
|
</colgroup>
|
|
<thead valign="bottom">
|
|
<tr><th>Before</th>
|
|
<th>Now</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody valign="top">
|
|
<tr><td><tt class="literal"><span class="pre">i::type</span></tt></td>
|
|
<td><tt class="literal"><span class="pre">deref<i>::type</span></tt></td>
|
|
</tr>
|
|
<tr><td><tt class="literal"><span class="pre">i::next</span></tt></td>
|
|
<td><tt class="literal"><span class="pre">next<i>::type</span></tt></td>
|
|
</tr>
|
|
<tr><td><tt class="literal"><span class="pre">i::prior</span></tt></td>
|
|
<td><tt class="literal"><span class="pre">prior<i>::type</span></tt></td>
|
|
</tr>
|
|
<tr><td><tt class="literal"><span class="pre">i::advance<n>::type</span></tt></td>
|
|
<td><tt class="literal"><span class="pre">advance<i,n>::type</span></tt></td>
|
|
</tr>
|
|
<tr><td><tt class="literal"><span class="pre">i::distance<j>::type</span></tt></td>
|
|
<td><tt class="literal"><span class="pre">distance<i,j>::type</span></tt></td>
|
|
</tr>
|
|
<tr><td><tt class="literal"><span class="pre">i::category</span></tt></td>
|
|
<td><tt class="literal"><span class="pre">i::category</span></tt></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="footer-separator"></div>
|
|
<table class="footer"><tr class="footer"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./apply-lambda-semantics.html" class="navigation-link">Prev</a> <a href="./tag-dispatching-protocol.html" class="navigation-link">Next</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./apply-lambda-semantics.html" class="navigation-link">Back</a> <a href="./tag-dispatching-protocol.html" class="navigation-link">Along</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./changes-in-boost-1-32-0.html" class="navigation-link">Up</a> <a href="../index.html" class="navigation-link">Home</a></span><span class="navigation-group-separator"> | </span><span class="navigation-group"><a href="./tutorial_toc.html" class="navigation-link">Full TOC</a></span></td>
|
|
</tr></table></body>
|
|
</html>
|