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>as_set</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="as_vector.html" title="as_vector">
<link rel="next" href="as_map.html" title="as_map">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.conversion.functions.as_set.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512981"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a>
=======
<a name="id764160"></a>
=======
<a name="id726506"></a>
=======
<a name="id718860"></a>
=======
<a name="id742267"></a>
=======
<a name="id729909"></a>
=======
<a name="id726632"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Convert a fusion sequence to a <a href="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>.
</p>
<a name="fusion.container.conversion.functions.as_set.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513027"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.synopsis">Synopsis</a>
=======
<a name="id764189"></a>
=======
<a name="id726534"></a>
=======
<a name="id718888"></a>
=======
<a name="id742295"></a>
=======
<a name="id729938"></a>
=======
<a name="id726661"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.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">&gt;</span>
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -49,8 +107,33 @@
<span class="identifier">as_set</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.container.conversion.functions.as_set.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513282"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a>
=======
<a name="id764438"></a>
=======
<a name="id726714"></a>
=======
<a name="id719068"></a>
=======
<a name="id742475"></a>
=======
<a name="id730118"></a>
=======
<a name="id726841"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -82,8 +165,33 @@
</tr></tbody>
</table></div>
<a name="fusion.container.conversion.functions.as_set.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513387"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression
=======
<a name="id764522"></a>
=======
<a name="id726798"></a>
=======
<a name="id719152"></a>
=======
<a name="id742559"></a>
=======
<a name="id730202"></a>
=======
<a name="id726925"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -100,22 +208,72 @@
key types.
</p>
<a name="fusion.container.conversion.functions.as_set.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513556"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.header">Header</a>
=======
<a name="id764631"></a>
=======
<a name="id726908"></a>
=======
<a name="id719262"></a>
=======
<a name="id742669"></a>
=======
<a name="id730311"></a>
=======
<a name="id727034"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.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">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</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">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.conversion.functions.as_set.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513722"></a>
<a href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a>
=======
<a name="id764746"></a>
=======
<a name="id727023"></a>
=======
<a name="id719377"></a>
=======
<a name="id742784"></a>
=======
<a name="id730426"></a>
=======
<a name="id727149"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
</pre>
</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>)