forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
@ -1,13 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<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">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="advance.html" title="advance">
|
||||
<link rel="next" href="../operator.html" title="Operator">
|
||||
<link rel="next" href="deref_data.html" title="deref_data">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%"><tr>
|
||||
@ -20,8 +28,9 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
@ -33,13 +42,30 @@
|
||||
<a name="id430651"></a>
|
||||
<a href="advance_c.html#fusion.iterator.functions.advance_c.description">Description</a>
|
||||
</h5>
|
||||
=======
|
||||
<div class="section" title="advance_c">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<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="id639223"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.description">Description</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.iterator.functions.advance_c.synopsis"></a><h5>
|
||||
<a name="id430680"></a>
|
||||
<a href="advance_c.html#fusion.iterator.functions.advance_c.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
=======
|
||||
<a name="fusion.iterator.functions.advance_c.synopsis"></a><h6>
|
||||
<a name="id639241"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span>
|
||||
<span class="keyword">int</span> <span class="identifier">N</span>
|
||||
@ -47,8 +73,33 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></tt></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">
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id430850"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
=======
|
||||
<a name="id682913"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
=======
|
||||
<a name="id638820"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
=======
|
||||
<a name="id631175"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
=======
|
||||
<a name="id654866"></a><p class="title"><b>Table 1.7. Parameters</b></p>
|
||||
=======
|
||||
<a name="id642640"></a><p class="title"><b>Table 1.7. Parameters</b></p>
|
||||
=======
|
||||
<a name="id639364"></a><p class="title"><b>Table 1.7. Parameters</b></p>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<colgroup>
|
||||
<col>
|
||||
<col>
|
||||
@ -93,9 +144,15 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.iterator.functions.advance_c.expression_semantics"></a><h5>
|
||||
<a name="id430988"></a>
|
||||
<a href="advance_c.html#fusion.iterator.functions.advance_c.expression_semantics">Expression
|
||||
=======
|
||||
<br class="table-break"><a name="fusion.iterator.functions.advance_c.expression_semantics"></a><h6>
|
||||
<a name="id639480"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><a href="advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">);</span>
|
||||
@ -113,18 +170,33 @@
|
||||
Iterator</a> then <tt class="computeroutput"><span class="identifier">N</span></tt>
|
||||
may be negative.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.iterator.functions.advance_c.header"></a><h5>
|
||||
<a name="id431151"></a>
|
||||
<a href="advance_c.html#fusion.iterator.functions.advance_c.header">Header</a>
|
||||
</h5>
|
||||
=======
|
||||
<a name="fusion.iterator.functions.advance_c.header"></a><h6>
|
||||
<a name="id639584"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.header">Header</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<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>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.iterator.functions.advance_c.example"></a><h5>
|
||||
<a name="id431306"></a>
|
||||
<a href="advance_c.html#fusion.iterator.functions.advance_c.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></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>
|
||||
=======
|
||||
<a name="fusion.iterator.functions.advance_c.example"></a><h6>
|
||||
<a name="id639692"></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>
|
||||
>>>>>>> .merge-right.r57125
|
||||
|
||||
<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><a href="deref.html" title="deref"><tt class="computeroutput"><span class="identifier">deref</span></tt></a><span class="special">(</span><a href="advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="number">2</span><span class="special">>(</span><a href="../../sequence/intrinsic/functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span>
|
||||
@ -132,7 +204,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
@ -141,7 +213,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user