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_list</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="../functions.html" title="Functions">
<link rel="next" href="as_vector.html" title="as_vector">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.conversion.functions.as_list.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511286"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a>
=======
<a name="id762982"></a>
=======
<a name="id725258"></a>
=======
<a name="id717612"></a>
=======
<a name="id739995"></a>
=======
<a name="id728662"></a>
=======
<a name="id725385"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Convert a fusion sequence to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
</p>
<a name="fusion.container.conversion.functions.as_list.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511333"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.synopsis">Synopsis</a>
=======
<a name="id763010"></a>
=======
<a name="id725287"></a>
=======
<a name="id717641"></a>
=======
<a name="id740024"></a>
=======
<a name="id728690"></a>
=======
<a name="id725414"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.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_list</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_list</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_list.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511589"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.parameters">Parameters</a>
=======
<a name="id763193"></a>
=======
<a name="id725470"></a>
=======
<a name="id717824"></a>
=======
<a name="id740207"></a>
=======
<a name="id728873"></a>
=======
<a name="id725596"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.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_list.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511694"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression
=======
<a name="id763279"></a>
=======
<a name="id725556"></a>
=======
<a name="id717910"></a>
=======
<a name="id740293"></a>
=======
<a name="id728959"></a>
=======
<a name="id725682"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -96,22 +204,72 @@
<tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
</p>
<a name="fusion.container.conversion.functions.as_list.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id511852"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.header">Header</a>
=======
<a name="id763379"></a>
=======
<a name="id725656"></a>
=======
<a name="id718010"></a>
=======
<a name="id740393"></a>
=======
<a name="id729059"></a>
=======
<a name="id725782"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.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">list</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_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.conversion.functions.as_list.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512018"></a>
<a href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a>
=======
<a name="id763494"></a>
=======
<a name="id725771"></a>
=======
<a name="id718125"></a>
=======
<a name="id740508"></a>
=======
<a name="id729174"></a>
=======
<a name="id725897"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">as_list</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>)

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_map</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_set.html" title="as_set">
<link rel="next" href="../metafunctions.html" title="Metafunctions">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.conversion.functions.as_map.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513836"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
=======
<a name="id764820"></a>
=======
<a name="id727097"></a>
=======
<a name="id719451"></a>
=======
<a name="id742858"></a>
=======
<a name="id730500"></a>
=======
<a name="id727224"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Convert a fusion sequence to a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>.
</p>
<a name="fusion.container.conversion.functions.as_map.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id513883"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
=======
<a name="id764849"></a>
=======
<a name="id727126"></a>
=======
<a name="id719480"></a>
=======
<a name="id742887"></a>
=======
<a name="id730529"></a>
=======
<a name="id727252"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.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_map</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_map</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_map.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514138"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
=======
<a name="id765029"></a>
=======
<a name="id727306"></a>
=======
<a name="id719660"></a>
=======
<a name="id743067"></a>
=======
<a name="id730709"></a>
=======
<a name="id727432"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.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_map.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514243"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
=======
<a name="id765113"></a>
=======
<a name="id727390"></a>
=======
<a name="id719744"></a>
=======
<a name="id743151"></a>
=======
<a name="id730793"></a>
=======
<a name="id727516"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -101,15 +209,65 @@
There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types.
</p>
<a name="fusion.container.conversion.functions.as_map.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514447"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
=======
<a name="id765243"></a>
=======
<a name="id727520"></a>
=======
<a name="id719874"></a>
=======
<a name="id743281"></a>
=======
<a name="id730923"></a>
=======
<a name="id727646"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.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">map</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_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.conversion.functions.as_map.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id514613"></a>
<a href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
=======
<a name="id765358"></a>
=======
<a name="id727635"></a>
=======
<a name="id719989"></a>
=======
<a name="id743396"></a>
=======
<a name="id731038"></a>
=======
<a name="id727761"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">as_map</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>
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="char">'X'</span><span class="special">)</span>
@ -118,7 +276,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>)

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>)

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_vector</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_list.html" title="as_list">
<link rel="next" href="as_set.html" title="as_set">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.conversion.functions.as_vector.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512133"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a>
=======
<a name="id763568"></a>
=======
<a name="id725845"></a>
=======
<a name="id718199"></a>
=======
<a name="id740582"></a>
=======
<a name="id729248"></a>
=======
<a name="id725972"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Convert a fusion sequence to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
</p>
<a name="fusion.container.conversion.functions.as_vector.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512180"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.synopsis">Synopsis</a>
=======
<a name="id763600"></a>
=======
<a name="id725876"></a>
=======
<a name="id718230"></a>
=======
<a name="id740613"></a>
=======
<a name="id729280"></a>
=======
<a name="id726003"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.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_vector</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_vector</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_vector.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512435"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.parameters">Parameters</a>
=======
<a name="id763784"></a>
=======
<a name="id726061"></a>
=======
<a name="id718415"></a>
=======
<a name="id740798"></a>
=======
<a name="id729464"></a>
=======
<a name="id726188"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.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_vector.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512541"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression
=======
<a name="id763871"></a>
=======
<a name="id726148"></a>
=======
<a name="id718502"></a>
=======
<a name="id740885"></a>
=======
<a name="id729551"></a>
=======
<a name="id726274"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@ -96,22 +204,72 @@
<tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
</p>
<a name="fusion.container.conversion.functions.as_vector.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512700"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.header">Header</a>
=======
<a name="id763970"></a>
=======
<a name="id726247"></a>
=======
<a name="id718601"></a>
=======
<a name="id742077"></a>
=======
<a name="id729719"></a>
=======
<a name="id726442"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.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">vector</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_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.conversion.functions.as_vector.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id512866"></a>
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a>
=======
<a name="id764086"></a>
=======
<a name="id726431"></a>
=======
<a name="id718785"></a>
=======
<a name="id742192"></a>
=======
<a name="id729834"></a>
=======
<a name="id726558"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><a href="../../generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</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>)