associative iterators & views (Fixes #3473)

[SVN r57242]
This commit is contained in:
Christopher Schmidt
2009-10-30 00:19:19 +00:00
parent 9b26b4a0f7
commit dab67207cf
242 changed files with 3182 additions and 1556 deletions

View File

@ -27,16 +27,16 @@
<a name="fusion.sequence.intrinsic.metafunctions.at"></a><a class="link" href="at.html" title="at">at</a>
</h5></div></div></div>
<a name="fusion.sequence.intrinsic.metafunctions.at.description"></a><h6>
<a name="id715319"></a>
<a name="id677580"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.description">Description</a>
</h6>
<p>
Returns the result type of <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>
<sup>[<a name="id715340" href="#ftn.id715340" class="footnote">6</a>]</sup>
<sup>[<a name="id677602" href="#ftn.id677602" class="footnote">6</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.synopsis"></a><h6>
<a name="id715410"></a>
<a name="id677672"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -48,7 +48,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id715494"></a><p class="title"><b>Table<EFBFBD>1.25.<2E>Parameters</b></p>
<a name="id677756"></a><p class="title"><b>Table<EFBFBD>1.29.<2E>Parameters</b></p>
<div class="table-contents"><table class="table" summary="Parameters">
<colgroup>
<col>
@ -113,7 +113,7 @@
</table></div>
</div>
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at.expression_semantics"></a><h6>
<a name="id715613"></a>
<a name="id677874"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.expression_semantics">Expression
Semantics</a>
</h6>
@ -126,11 +126,15 @@
<span class="bold"><strong>Semantics</strong></span>: Returns the result type of
using <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a> to access the <code class="computeroutput"><span class="identifier">N</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
</p>
<p>
/sequence/intrinsic/at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.header"></a><h6>
<a name="id677969"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.header">Header</a>
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</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">intrinsic</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.at.example"></a><h6>
<a name="id715711"></a>
<a name="id678084"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
@ -138,7 +142,7 @@
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id715340" href="#id715340" class="para">6</a>] </sup>
<div class="footnote"><p><sup>[<a name="ftn.id677602" href="#id677602" class="para">6</a>] </sup>
<a class="link" href="at.html" title="at"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></code></a> reflects the actual return
type of the function <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>. <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>(s)
typically return references to its elements via the <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a> function. If you want