fusion: merge of associative iterators/views and the new fold interface

[SVN r58618]
This commit is contained in:
Christopher Schmidt
2010-01-01 22:00:21 +00:00
parent b605617c4f
commit cda74605fc
379 changed files with 28481 additions and 2185 deletions

View File

@ -1,10 +1,18 @@
<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>none</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&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="all.html" title="all">
<link rel="next" href="find.html" title="find">
@ -30,8 +38,33 @@
<div></div>
</div>
<a name="fusion.algorithm.query.functions.none.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547251"></a>
<a href="none.html#fusion.algorithm.query.functions.none.description">Description</a>
=======
<a name="id797424"></a>
=======
<a name="id759162"></a>
=======
<a name="id751538"></a>
=======
<a name="id774125"></a>
=======
<a name="id762651"></a>
=======
<a name="id759374"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
@ -41,8 +74,33 @@
element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
</p>
<a name="fusion.algorithm.query.functions.none.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547326"></a>
<a href="none.html#fusion.algorithm.query.functions.none.synopsis">Synopsis</a>
=======
<a name="id797477"></a>
=======
<a name="id759215"></a>
=======
<a name="id751590"></a>
=======
<a name="id774178"></a>
=======
<a name="id762704"></a>
=======
<a name="id759427"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -52,8 +110,33 @@
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547496"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id797612"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
=======
<a name="id759350"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
=======
<a name="id751726"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
=======
<a name="id774313"></a><p class="title"><b>Table&#160;1.45.&#160;Parameters</b></p>
=======
<a name="id762840"></a><p class="title"><b>Table&#160;1.45.&#160;Parameters</b></p>
=======
<a name="id759563"></a><p class="title"><b>Table&#160;1.45.&#160;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>
@ -100,9 +183,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.algorithm.query.functions.none.expression_semantics"></a><h6>
<a name="id547683"></a>
<a href="none.html#fusion.algorithm.query.functions.none.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.none.expression_semantics"></a><h6>
<a name="id759721"></a>
<a class="link" href="none.html#fusion.algorithm.query.functions.none.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><a href="none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">);</span>
@ -117,22 +206,97 @@
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. Result equivalent to <tt class="computeroutput"><span class="special">!</span><span class="identifier">any</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">)</span></tt>.
</p>
<a name="fusion.algorithm.query.functions.none.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547871"></a>
<a href="none.html#fusion.algorithm.query.functions.none.complexity">Complexity</a>
=======
<a name="id797912"></a>
=======
<a name="id759650"></a>
=======
<a name="id752026"></a>
=======
<a name="id774613"></a>
=======
<a name="id763140"></a>
=======
<a name="id759863"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Linear. At most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
</p>
<a name="fusion.algorithm.query.functions.none.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id547942"></a>
<a href="none.html#fusion.algorithm.query.functions.none.header">Header</a>
=======
<a name="id797963"></a>
=======
<a name="id759701"></a>
=======
<a name="id752076"></a>
=======
<a name="id774664"></a>
=======
<a name="id763190"></a>
=======
<a name="id759913"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.header">Header</a>
>>>>>>> .merge-right.r57125
</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">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">none</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">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.algorithm.query.functions.none.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id548090"></a>
<a href="none.html#fusion.algorithm.query.functions.none.example">Example</a>
=======
<a name="id798078"></a>
=======
<a name="id759816"></a>
=======
<a name="id752192"></a>
=======
<a name="id774779"></a>
=======
<a name="id766173"></a>
=======
<a name="id762896"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="none.html#fusion.algorithm.query.functions.none.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">odd</span>
<span class="special">{</span>
@ -149,7 +313,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 &#169; 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>)