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>all</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="any.html" title="any">
<link rel="next" href="none.html" title="none">
@ -30,8 +38,33 @@
<div></div>
</div>
<a name="fusion.algorithm.query.functions.all.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id545520"></a>
<a href="all.html#fusion.algorithm.query.functions.all.description">Description</a>
=======
<a name="id796555"></a>
=======
<a name="id758293"></a>
=======
<a name="id750669"></a>
=======
<a name="id773256"></a>
=======
<a name="id761782"></a>
=======
<a name="id758506"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.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.all.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id353686"></a>
<a href="all.html#fusion.algorithm.query.functions.all.synopsis">Synopsis</a>
=======
<a name="id796608"></a>
=======
<a name="id758346"></a>
=======
<a name="id750722"></a>
=======
<a name="id773309"></a>
=======
<a name="id761835"></a>
=======
<a name="id758558"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.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="id546380"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id796744"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
=======
<a name="id758481"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
=======
<a name="id750857"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
=======
<a name="id773444"></a><p class="title"><b>Table&#160;1.44.&#160;Parameters</b></p>
=======
<a name="id761971"></a><p class="title"><b>Table&#160;1.44.&#160;Parameters</b></p>
=======
<a name="id758694"></a><p class="title"><b>Table&#160;1.44.&#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.all.expression_semantics"></a><h6>
<a name="id546567"></a>
<a href="all.html#fusion.algorithm.query.functions.all.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.functions.all.expression_semantics"></a><h6>
<a name="id758852"></a>
<a class="link" href="all.html#fusion.algorithm.query.functions.all.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><a href="all.html" title="all"><tt class="computeroutput"><span class="identifier">all</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>.
</p>
<a name="fusion.algorithm.query.functions.all.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546716"></a>
<a href="all.html#fusion.algorithm.query.functions.all.complexity">Complexity</a>
=======
<a name="id797014"></a>
=======
<a name="id758751"></a>
=======
<a name="id751127"></a>
=======
<a name="id773714"></a>
=======
<a name="id762241"></a>
=======
<a name="id758964"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.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.all.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546786"></a>
<a href="all.html#fusion.algorithm.query.functions.all.header">Header</a>
=======
<a name="id797064"></a>
=======
<a name="id758802"></a>
=======
<a name="id751178"></a>
=======
<a name="id773765"></a>
=======
<a name="id762291"></a>
=======
<a name="id759014"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.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">all</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">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.algorithm.query.functions.all.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id546934"></a>
<a href="all.html#fusion.algorithm.query.functions.all.example">Example</a>
=======
<a name="id797179"></a>
=======
<a name="id758917"></a>
=======
<a name="id751293"></a>
=======
<a name="id773880"></a>
=======
<a name="id762406"></a>
=======
<a name="id759130"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="all.html#fusion.algorithm.query.functions.all.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>)