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_c"></a><a href="advance_c.html" title="advance_c">advance_c</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.advance_c.description"></a><h5>
|
||||
<a name="id935495"></a>
|
||||
<a name="id942672"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance_c.synopsis"></a><h5>
|
||||
<a name="id935523"></a>
|
||||
<a name="id942700"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">advance_c</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="id935674"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<a name="id942852"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -52,31 +52,64 @@
|
||||
<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>Integer
|
||||
constant</td>
|
||||
<td>Number of positions to move</td>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Integer constant
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Number of positions to move
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.advance_c.expression_semantics"></a><h5>
|
||||
<a name="id935756"></a>
|
||||
<a name="id942975"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -97,14 +130,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance_c.header"></a><h5>
|
||||
<a name="id935895"></a>
|
||||
<a name="id943121"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.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_c.example"></a><h5>
|
||||
<a name="id935977"></a>
|
||||
<a name="id943205"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
Reference in New Issue
Block a user