forked from boostorg/fusion
revises function object concepts and functional module documenation to reflect
boost::result_of-based result computation [SVN r38209]
This commit is contained in:
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.advance"></a><a href="advance.html" title="advance">advance</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.advance.description"></a><h5>
|
||||
<a name="id934746"></a>
|
||||
<a name="id941870"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance.synopsis"></a><h5>
|
||||
<a name="id934772"></a>
|
||||
<a name="id941896"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">advance</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id934922"></a><p class="title"><b>Table<EFBFBD>1.6.<2E>Parameters</b></p>
|
||||
<a name="id942048"></a><p class="title"><b>Table<EFBFBD>1.6.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -52,33 +52,65 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>Parameter</th>
|
||||
<th>Requirement</th>
|
||||
<th>Description</th>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code class="computeroutput"><span class="identifier">i</span></code></td>
|
||||
<td>Model
|
||||
of <a href="../concepts/forward_iterator.html" title="Forward
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">i</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a href="../concepts/forward_iterator.html" title="Forward
|
||||
Iterator">Forward
|
||||
Iterator</a>
|
||||
</td>
|
||||
<td>Iterator to move relative to</td>
|
||||
Iterator</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Iterator to move relative to
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code class="computeroutput"><span class="identifier">N</span></code></td>
|
||||
<td>An
|
||||
<a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</td>
|
||||
<td>Number of positions to move</td>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Number of positions to move
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.advance.expression_semantics"></a><h5>
|
||||
<a name="id935011"></a>
|
||||
<a name="id942177"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -99,14 +131,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance.header"></a><h5>
|
||||
<a name="id935149"></a>
|
||||
<a name="id942324"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.header">Header</a>
|
||||
</h5>
|
||||
<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">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.advance.example"></a><h5>
|
||||
<a name="id935232"></a>
|
||||
<a name="id942408"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
Reference in New Issue
Block a user