forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
@@ -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>any</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 1. 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="../functions.html" title="Functions">
|
||||
<link rel="next" href="all.html" title="all">
|
||||
@@ -30,8 +38,33 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.algorithm.query.functions.any.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id543456"></a>
|
||||
<a href="any.html#fusion.algorithm.query.functions.any.description">Description</a>
|
||||
=======
|
||||
<a name="id794594"></a>
|
||||
=======
|
||||
<a name="id757151"></a>
|
||||
=======
|
||||
<a name="id749526"></a>
|
||||
=======
|
||||
<a name="id771226"></a>
|
||||
=======
|
||||
<a name="id759821"></a>
|
||||
=======
|
||||
<a name="id756544"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="any.html#fusion.algorithm.query.functions.any.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 @@
|
||||
least one element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithm.query.functions.any.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id543543"></a>
|
||||
<a href="any.html#fusion.algorithm.query.functions.any.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id794646"></a>
|
||||
=======
|
||||
<a name="id757203"></a>
|
||||
=======
|
||||
<a name="id749579"></a>
|
||||
=======
|
||||
<a name="id771279"></a>
|
||||
=======
|
||||
<a name="id759874"></a>
|
||||
=======
|
||||
<a name="id756597"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="any.html#fusion.algorithm.query.functions.any.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">&</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="id543734"></a><p class="title"><b>Table 1.39. Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
=======
|
||||
<a name="id794782"></a><p class="title"><b>Table 1.39. Parameters</b></p>
|
||||
=======
|
||||
<a name="id757339"></a><p class="title"><b>Table 1.43. Parameters</b></p>
|
||||
=======
|
||||
<a name="id749715"></a><p class="title"><b>Table 1.43. Parameters</b></p>
|
||||
=======
|
||||
<a name="id771414"></a><p class="title"><b>Table 1.43. Parameters</b></p>
|
||||
=======
|
||||
<a name="id761102"></a><p class="title"><b>Table 1.43. Parameters</b></p>
|
||||
=======
|
||||
<a name="id757825"></a><p class="title"><b>Table 1.43. 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.any.expression_semantics"></a><h6>
|
||||
<a name="id543934"></a>
|
||||
<a href="any.html#fusion.algorithm.query.functions.any.expression_semantics">Expression
|
||||
=======
|
||||
<br class="table-break"><a name="fusion.algorithm.query.functions.any.expression_semantics"></a><h6>
|
||||
<a name="id757984"></a>
|
||||
<a class="link" href="any.html#fusion.algorithm.query.functions.any.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="any.html" title="any"><tt class="computeroutput"><span class="identifier">any</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.any.complexity"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id544102"></a>
|
||||
<a href="any.html#fusion.algorithm.query.functions.any.complexity">Complexity</a>
|
||||
=======
|
||||
<a name="id795052"></a>
|
||||
=======
|
||||
<a name="id757883"></a>
|
||||
=======
|
||||
<a name="id750258"></a>
|
||||
=======
|
||||
<a name="id772846"></a>
|
||||
=======
|
||||
<a name="id761372"></a>
|
||||
=======
|
||||
<a name="id758095"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="any.html#fusion.algorithm.query.functions.any.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"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithm.query.functions.any.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id544184"></a>
|
||||
<a href="any.html#fusion.algorithm.query.functions.any.header">Header</a>
|
||||
=======
|
||||
<a name="id795102"></a>
|
||||
=======
|
||||
<a name="id757933"></a>
|
||||
=======
|
||||
<a name="id750309"></a>
|
||||
=======
|
||||
<a name="id772896"></a>
|
||||
=======
|
||||
<a name="id761422"></a>
|
||||
=======
|
||||
<a name="id758146"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="any.html#fusion.algorithm.query.functions.any.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">any</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">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithm.query.functions.any.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id544349"></a>
|
||||
<a href="any.html#fusion.algorithm.query.functions.any.example">Example</a>
|
||||
=======
|
||||
<a name="id796310"></a>
|
||||
=======
|
||||
<a name="id758048"></a>
|
||||
=======
|
||||
<a name="id750424"></a>
|
||||
=======
|
||||
<a name="id773011"></a>
|
||||
=======
|
||||
<a name="id761538"></a>
|
||||
=======
|
||||
<a name="id758261"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="any.html#fusion.algorithm.query.functions.any.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 © 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>)
|
||||
|
||||
Reference in New Issue
Block a user