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>count</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="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="find_if.html" title="find_if">
<link rel="next" href="count_if.html" title="count_if">
@ -30,16 +38,66 @@
<div></div>
</div>
<a name="fusion.algorithm.query.metafunctions.count.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556161"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.description">Description</a>
=======
<a name="id808381"></a>
=======
<a name="id770816"></a>
=======
<a name="id763192"></a>
=======
<a name="id785779"></a>
=======
<a name="id773077"></a>
=======
<a name="id769800"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
A metafunction that returns the result type of <tt class="computeroutput"><span class="identifier">count</span></tt>
given the sequence and search types.
</p>
<a name="fusion.algorithm.query.metafunctions.count.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556202"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.synopsis">Synopsis</a>
=======
<a name="id808408"></a>
=======
<a name="id770843"></a>
=======
<a name="id763218"></a>
=======
<a name="id785806"></a>
=======
<a name="id773103"></a>
=======
<a name="id769827"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.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>
@ -51,8 +109,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556320"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id808494"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
=======
<a name="id770929"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
=======
<a name="id763305"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
=======
<a name="id785892"></a><p class="title"><b>Table&#160;1.55.&#160;Parameters</b></p>
=======
<a name="id773190"></a><p class="title"><b>Table&#160;1.55.&#160;Parameters</b></p>
=======
<a name="id769913"></a><p class="title"><b>Table&#160;1.55.&#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>
@ -97,9 +180,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.count.expression_semantics"></a><h6>
<a name="id556458"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.count.expression_semantics"></a><h6>
<a name="id770029"></a>
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><a href="count.html" title="count"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">count</span></tt></a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -113,15 +202,65 @@
<tt class="computeroutput"><span class="keyword">int</span></tt>.
</p>
<a name="fusion.algorithm.query.metafunctions.count.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556600"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.complexity">Complexity</a>
=======
<a name="id808702"></a>
=======
<a name="id771137"></a>
=======
<a name="id763512"></a>
=======
<a name="id786100"></a>
=======
<a name="id773397"></a>
=======
<a name="id770121"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Constant.
</p>
<a name="fusion.algorithm.query.metafunctions.count.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id556627"></a>
<a href="count.html#fusion.algorithm.query.metafunctions.count.header">Header</a>
=======
<a name="id808719"></a>
=======
<a name="id771154"></a>
=======
<a name="id763529"></a>
=======
<a name="id786116"></a>
=======
<a name="id773414"></a>
=======
<a name="id770137"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="count.html#fusion.algorithm.query.metafunctions.count.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">count</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">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
@ -129,7 +268,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>)