forked from boostorg/fusion
documentation update
[SVN r61187]
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>advance_c</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="advance.html" title="advance">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.functions.advance_c"></a><a class="link" href="advance_c.html" title="advance_c">advance_c</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.functions.advance_c.description"></a><h6>
|
||||
<a name="id583451"></a>
|
||||
<a name="id680902"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.advance_c.synopsis"></a><h6>
|
||||
<a name="id583469"></a>
|
||||
<a name="id680920"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a class="link" 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="id583592"></a><p class="title"><b>Table 1.7. Parameters</b></p>
|
||||
<a name="id681042"></a><p class="title"><b>Table 1.7. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,62 +53,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">i</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">i</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward
|
||||
Iterator</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward
|
||||
Iterator</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Iterator to move relative to
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Iterator to move relative to
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Integer constant
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Integer constant
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Number of positions to move
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Number of positions to move
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.advance_c.expression_semantics"></a><h6>
|
||||
<a name="id583708"></a>
|
||||
<a name="id681164"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -127,14 +127,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.advance_c.header"></a><h6>
|
||||
<a name="id583812"></a>
|
||||
<a name="id681269"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.header">Header</a>
|
||||
</h6>
|
||||
<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>
|
||||
<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">include</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.iterator.functions.advance_c.example"></a><h6>
|
||||
<a name="id583920"></a>
|
||||
<a name="id681377"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.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"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
|
||||
|
Reference in New Issue
Block a user