2006-08-22 15:57:13 +00:00
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
|
<title>Iterators</title>
|
|
|
|
|
<link rel="stylesheet" href="../boostbook.css" type="text/css">
|
2007-02-15 23:11:24 +00:00
|
|
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
2006-08-22 15:57:13 +00:00
|
|
|
|
<link rel="start" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
|
|
|
|
<link rel="up" href="../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
|
|
|
|
<link rel="prev" href="support/pair.html" title="pair">
|
|
|
|
|
<link rel="next" href="iterators/concepts.html" title="Concepts">
|
|
|
|
|
</head>
|
|
|
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
|
|
|
<table cellpadding="2" width="100%">
|
|
|
|
|
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
|
|
|
|
|
<td align="center"><a href="../../../../../index.htm">Home</a></td>
|
|
|
|
|
<td align="center"><a href="../../../../libraries.htm">Libraries</a></td>
|
|
|
|
|
<td align="center"><a href="../../../../../people/people.htm">People</a></td>
|
|
|
|
|
<td align="center"><a href="../../../../../more/faq.htm">FAQ</a></td>
|
|
|
|
|
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
|
|
|
|
|
</table>
|
|
|
|
|
<hr>
|
|
|
|
|
<div class="spirit-nav">
|
|
|
|
|
<a accesskey="p" href="support/pair.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="iterators/concepts.html"><img src="../images/next.png" alt="Next"></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="section" lang="en">
|
|
|
|
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
|
|
|
|
<a name="fusion.iterators"></a><a href="iterators.html" title="Iterators">Iterators</a></h2></div></div></div>
|
|
|
|
|
<div class="toc"><dl>
|
|
|
|
|
<dt><span class="section"><a href="iterators/concepts.html">Concepts</a></span></dt>
|
2007-01-22 00:40:36 +00:00
|
|
|
|
<dd><dl>
|
|
|
|
|
<dt><span class="section"><a href="iterators/concepts/forward_iterator.html">Forward
|
|
|
|
|
Iterator</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/concepts/bidirectional_iterator.html">Bidirectional
|
|
|
|
|
Iterator</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/concepts/random_access_iterator.html">Random
|
|
|
|
|
Access Iterator</a></span></dt>
|
|
|
|
|
</dl></dd>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
<dt><span class="section"><a href="iterators/functions.html">Functions</a></span></dt>
|
2007-01-22 00:40:36 +00:00
|
|
|
|
<dd><dl>
|
|
|
|
|
<dt><span class="section"><a href="iterators/functions/deref.html">deref</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/functions/next.html">next</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/functions/prior.html">prior</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/functions/distance.html">distance</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/functions/advance.html">advance</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/functions/advance_c.html">advance_c</a></span></dt>
|
|
|
|
|
</dl></dd>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
<dt><span class="section"><a href="iterators/operators.html">Operators</a></span></dt>
|
2007-01-22 00:40:36 +00:00
|
|
|
|
<dd><dl>
|
|
|
|
|
<dt><span class="section"><a href="iterators/operators/operator_unary_star.html"> Operator
|
|
|
|
|
*</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/operators/operator_equality.html"> Operator
|
|
|
|
|
==</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/operators/operator_inequality.html"> Operator
|
|
|
|
|
!=</a></span></dt>
|
|
|
|
|
</dl></dd>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions.html">Metafunctions</a></span></dt>
|
2007-01-22 00:40:36 +00:00
|
|
|
|
<dd><dl>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/value_of.html">value_of</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/deref.html">deref</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/next.html">next</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/prior.html">prior</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/equal_to.html">equal_to</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/distance.html">distance</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/advance.html">advance</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="iterators/metafunctions/advance_c.html">advance_c</a></span></dt>
|
|
|
|
|
</dl></dd>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
</dl></div>
|
|
|
|
|
<p>
|
|
|
|
|
Like <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> and
|
|
|
|
|
<a href="http://en.wikipedia.org/wiki/Standard_Template_Library" target="_top">STL</a>,
|
|
|
|
|
iterators are a fundamental concept in Fusion. As with <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>
|
|
|
|
|
and <a href="http://en.wikipedia.org/wiki/Standard_Template_Library" target="_top">STL</a>
|
|
|
|
|
iterators describe positions, and provide access to data within an underlying
|
|
|
|
|
<a href="sequences.html" title="Sequences">Sequence</a>.
|
|
|
|
|
</p>
|
|
|
|
|
<a name="fusion.iterators.header"></a><h3>
|
2007-07-13 19:25:34 +00:00
|
|
|
|
<a name="id933685"></a>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
<a href="iterators.html#fusion.iterators.header">Header</a>
|
|
|
|
|
</h3>
|
|
|
|
|
<pre class="programlisting">
|
|
|
|
|
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
|
|
|
|
<td align="left"></td>
|
2007-02-25 22:02:27 +00:00
|
|
|
|
<td align="right"><small>Copyright <20> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
|
|
|
|
Schwinger</small></td>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
</tr></table>
|
|
|
|
|
<hr>
|
|
|
|
|
<div class="spirit-nav">
|
|
|
|
|
<a accesskey="p" href="support/pair.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="iterators/concepts.html"><img src="../images/next.png" alt="Next"></a>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|