2006-08-22 15:57:13 +00:00
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
|
<title>Sequences</title>
|
|
|
|
|
<link rel="stylesheet" href="../boostbook.css" type="text/css">
|
|
|
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
|
|
|
|
|
<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="iterators/metafunctions/advance_c.html" title="advance_c">
|
|
|
|
|
<link rel="next" href="sequences/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="iterators/metafunctions/advance_c.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="sequences/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.sequences"></a><a href="sequences.html" title="Sequences">Sequences</a></h2></div></div></div>
|
|
|
|
|
<div class="toc"><dl>
|
|
|
|
|
<dt><span class="section"><a href="sequences/concepts.html">Concepts</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/containers.html">Containers</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/views.html">Views</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/adapted.html">Adapted</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/intrinsics.html">Intrinsics</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/generation.html">Generation</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/conversion.html">Conversion</a></span></dt>
|
|
|
|
|
<dt><span class="section"><a href="sequences/operators.html">Operators</a></span></dt>
|
|
|
|
|
</dl></div>
|
|
|
|
|
<p>
|
|
|
|
|
Like <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>, the
|
|
|
|
|
Sequence is a fundamental concept in Fusion. A Sequence may or may not actually
|
|
|
|
|
store or contain data. <a href="sequences/containers.html" title="Containers">Containers</a>
|
|
|
|
|
are sequences that hold data. <a href="sequences/views.html" title="Views">Views</a>,
|
|
|
|
|
on the other hand, are sequences that do not store any data. Instead, they
|
|
|
|
|
are proxies that impart an alternative presentation over another sequence.
|
|
|
|
|
All models of Sequence have an associated <a href="iterators.html" title="Iterators">Iterator</a>
|
|
|
|
|
type that can be used to iterate through the Sequence's elements.
|
|
|
|
|
</p>
|
|
|
|
|
<a name="fusion.sequences.header"></a><h3>
|
2006-09-21 12:43:48 +00:00
|
|
|
|
<a name="id475781"></a>
|
2006-08-22 15:57:13 +00:00
|
|
|
|
<a href="sequences.html#fusion.sequences.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">sequence</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>
|
|
|
|
|
<td align="right"><small>Copyright <20> 2001-2005 Joel de Guzman, Dan Marsden</small></td>
|
|
|
|
|
</tr></table>
|
|
|
|
|
<hr>
|
|
|
|
|
<div class="spirit-nav">
|
|
|
|
|
<a accesskey="p" href="iterators/metafunctions/advance_c.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="sequences/concepts.html"><img src="../images/next.png" alt="Next"></a>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|