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>list_tie</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="tiers.html" title="Tiers">
<link rel="next" href="vector_tie.html" title="vector_tie">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.list_tie.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id495882"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
=======
<a name="id747130"></a>
=======
<a name="id709543"></a>
=======
<a name="id701897"></a>
=======
<a name="id723167"></a>
=======
<a name="id712942"></a>
=======
<a name="id709666"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Constructs a tie using a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> sequence.
</p>
<a name="fusion.container.generation.functions.list_tie.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id495928"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a>
=======
<a name="id747159"></a>
=======
<a name="id709572"></a>
=======
<a name="id701926"></a>
=======
<a name="id723196"></a>
=======
<a name="id719018"></a>
=======
<a name="id715741"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.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">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">&amp;,</span> <span class="identifier">T1</span><span class="special">&amp;,...</span> <span class="identifier">TN</span><span class="special">&amp;&gt;</span>
@ -55,8 +113,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.list_tie.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496242"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
=======
<a name="id747378"></a>
=======
<a name="id714742"></a>
=======
<a name="id707096"></a>
=======
<a name="id730571"></a>
=======
<a name="id719238"></a>
=======
<a name="id715961"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -90,8 +173,33 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.list_tie.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496416"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
=======
<a name="id748878"></a>
=======
<a name="id714875"></a>
=======
<a name="id707229"></a>
=======
<a name="id730705"></a>
=======
<a name="id719371"></a>
=======
<a name="id716094"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">list_tie</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -104,15 +212,65 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
</p>
<a name="fusion.container.generation.functions.list_tie.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496583"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a>
=======
<a name="id748987"></a>
=======
<a name="id714984"></a>
=======
<a name="id707339"></a>
=======
<a name="id730814"></a>
=======
<a name="id719480"></a>
=======
<a name="id716203"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.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">generation</span><span class="special">/</span><span class="identifier">list_tie</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">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.list_tie.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496750"></a>
<a href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
=======
<a name="id749102"></a>
=======
<a name="id715100"></a>
=======
<a name="id707454"></a>
=======
<a name="id730929"></a>
=======
<a name="id719595"></a>
=======
<a name="id716318"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">123.456</span><span class="special">;</span>
@ -121,7 +279,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>make_cons</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="make_list.html" title="make_list">
<link rel="next" href="make_vector.html" title="make_vector">
@ -30,8 +38,33 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.make_cons.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490215"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
=======
<a name="id741938"></a>
=======
<a name="id703942"></a>
=======
<a name="id696296"></a>
=======
<a name="id718658"></a>
=======
<a name="id708433"></a>
=======
<a name="id705156"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Create a <a href="../../cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a>
@ -39,8 +72,33 @@
and optional <tt class="computeroutput"><span class="identifier">cdr</span></tt> (<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.container.generation.functions.make_cons.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490293"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a>
=======
<a name="id741991"></a>
=======
<a name="id703995"></a>
=======
<a name="id696349"></a>
=======
<a name="id718710"></a>
=======
<a name="id708486"></a>
=======
<a name="id705209"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.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">Car</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_cons.html" title="make_cons"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></tt></a><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -51,8 +109,33 @@
<span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">Car</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">car</span><span class="special">,</span> <span class="identifier">Cdr</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">cdr</span><span class="special">);</span>
</pre>
<a name="fusion.container.generation.functions.make_cons.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490624"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
=======
<a name="id742229"></a>
=======
<a name="id704232"></a>
=======
<a name="id696586"></a>
=======
<a name="id718948"></a>
=======
<a name="id708724"></a>
=======
<a name="id705447"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -97,8 +180,33 @@
</tbody>
</table></div>
<a name="fusion.container.generation.functions.make_cons.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490788"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
=======
<a name="id742358"></a>
=======
<a name="id704362"></a>
=======
<a name="id696716"></a>
=======
<a name="id719078"></a>
=======
<a name="id708853"></a>
=======
<a name="id705576"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">car</span><span class="special">,</span> <span class="identifier">cdr</span><span class="special">);</span>
@ -112,21 +220,96 @@
(<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.container.generation.functions.make_cons.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491040"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a>
=======
<a name="id742523"></a>
=======
<a name="id704526"></a>
=======
<a name="id696880"></a>
=======
<a name="id719242"></a>
=======
<a name="id709018"></a>
=======
<a name="id705741"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.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">generation</span><span class="special">/</span><span class="identifier">make_cons</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">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.make_cons.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491206"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
=======
<a name="id742638"></a>
=======
<a name="id704642"></a>
=======
<a name="id696996"></a>
=======
<a name="id719357"></a>
=======
<a name="id709133"></a>
=======
<a name="id705856"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="identifier">make_cons</span><span class="special">(</span><span class="number">123</span><span class="special">))</span>
</pre>
<a name="fusion.container.generation.functions.make_cons.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491279"></a>
<a href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
=======
<a name="id742688"></a>
=======
<a name="id704692"></a>
=======
<a name="id697046"></a>
=======
<a name="id719408"></a>
=======
<a name="id709183"></a>
=======
<a name="id705906"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
>>>>>>> .merge-right.r57125
also</a>
</h6>
<p>
@ -135,7 +318,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>make_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="make_cons.html" title="make_cons">
@ -30,16 +38,66 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.make_list.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489095"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
=======
<a name="id741155"></a>
=======
<a name="id703159"></a>
=======
<a name="id695513"></a>
=======
<a name="id717875"></a>
=======
<a name="id707646"></a>
=======
<a name="id704369"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>
from one or more values.
</p>
<a name="fusion.container.generation.functions.make_list.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489141"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a>
=======
<a name="id741187"></a>
=======
<a name="id703190"></a>
=======
<a name="id695544"></a>
=======
<a name="id717906"></a>
=======
<a name="id707677"></a>
=======
<a name="id704400"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_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">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -56,8 +114,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.make_list.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489503"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
=======
<a name="id741439"></a>
=======
<a name="id703442"></a>
=======
<a name="id695796"></a>
=======
<a name="id718158"></a>
=======
<a name="id707929"></a>
=======
<a name="id704652"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -91,8 +174,33 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.make_list.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489676"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
=======
<a name="id741572"></a>
=======
<a name="id703575"></a>
=======
<a name="id695930"></a>
=======
<a name="id718291"></a>
=======
<a name="id708067"></a>
=======
<a name="id704790"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -104,21 +212,96 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
</p>
<a name="fusion.container.generation.functions.make_list.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id489899"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a>
=======
<a name="id741722"></a>
=======
<a name="id703726"></a>
=======
<a name="id696080"></a>
=======
<a name="id718442"></a>
=======
<a name="id708217"></a>
=======
<a name="id704940"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_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">generation</span><span class="special">/</span><span class="identifier">make_list</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">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.make_list.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490065"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
=======
<a name="id741837"></a>
=======
<a name="id703841"></a>
=======
<a name="id696195"></a>
=======
<a name="id718557"></a>
=======
<a name="id708332"></a>
=======
<a name="id705056"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
</pre>
<a name="fusion.container.generation.functions.make_list.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id490139"></a>
<a href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
=======
<a name="id741889"></a>
=======
<a name="id703893"></a>
=======
<a name="id696247"></a>
=======
<a name="id718608"></a>
=======
<a name="id708384"></a>
=======
<a name="id705107"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
>>>>>>> .merge-right.r57125
also</a>
</h6>
<p>
@ -127,7 +310,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>make_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="make_set.html" title="make_set">
<link rel="next" href="tiers.html" title="Tiers">
@ -30,16 +38,66 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.make_map.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id493601"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.description">Description</a>
=======
<a name="id745541"></a>
=======
<a name="id707954"></a>
=======
<a name="id700309"></a>
=======
<a name="id721578"></a>
=======
<a name="id711354"></a>
=======
<a name="id708077"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Create a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>
from one or more key/data pairs.
</p>
<a name="fusion.container.generation.functions.make_map.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id493648"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.synopsis">Synopsis</a>
=======
<a name="id745571"></a>
=======
<a name="id707984"></a>
=======
<a name="id700339"></a>
=======
<a name="id721608"></a>
=======
<a name="id711384"></a>
=======
<a name="id708107"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_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">K0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">KN</span>
@ -58,8 +116,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.make_map.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id494095"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.parameters">Parameters</a>
=======
<a name="id745888"></a>
=======
<a name="id708301"></a>
=======
<a name="id700655"></a>
=======
<a name="id721925"></a>
=======
<a name="id711700"></a>
=======
<a name="id708424"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -108,8 +191,33 @@
</tbody>
</table></div>
<a name="fusion.container.generation.functions.make_map.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id494360"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.expression_semantics">Expression
=======
<a name="id746092"></a>
=======
<a name="id708505"></a>
=======
<a name="id700859"></a>
=======
<a name="id722129"></a>
=======
<a name="id711904"></a>
=======
<a name="id708628"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">make_map</span><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">&gt;(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -128,21 +236,96 @@
key types.
</p>
<a name="fusion.container.generation.functions.make_map.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id494693"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.header">Header</a>
=======
<a name="id746325"></a>
=======
<a name="id708738"></a>
=======
<a name="id701092"></a>
=======
<a name="id722362"></a>
=======
<a name="id712137"></a>
=======
<a name="id708860"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_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">generation</span><span class="special">/</span><span class="identifier">make_map</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">make_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.make_map.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id494860"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.example">Example</a>
=======
<a name="id746440"></a>
=======
<a name="id708853"></a>
=======
<a name="id701207"></a>
=======
<a name="id722477"></a>
=======
<a name="id712252"></a>
=======
<a name="id708976"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">make_map</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;(</span><span class="char">'X'</span><span class="special">,</span> <span class="string">"Men"</span><span class="special">)</span>
</pre>
<a name="fusion.container.generation.functions.make_map.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id494945"></a>
<a href="make_map.html#fusion.container.generation.functions.make_map.see_also">See
=======
<a name="id746496"></a>
=======
<a name="id708910"></a>
=======
<a name="id701264"></a>
=======
<a name="id722533"></a>
=======
<a name="id712309"></a>
=======
<a name="id709032"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.see_also">See
>>>>>>> .merge-right.r57125
also</a>
</h6>
<p>
@ -152,7 +335,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>make_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="make_vector.html" title="make_vector">
<link rel="next" href="make_map.html" title="make_map">
@ -30,16 +38,66 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.make_set.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id492472"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.description">Description</a>
=======
<a name="id743530"></a>
=======
<a name="id705533"></a>
=======
<a name="id697887"></a>
=======
<a name="id720249"></a>
=======
<a name="id710024"></a>
=======
<a name="id706748"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Create a <a href="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>
from one or more values.
</p>
<a name="fusion.container.generation.functions.make_set.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id492518"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.synopsis">Synopsis</a>
=======
<a name="id743558"></a>
=======
<a name="id705562"></a>
=======
<a name="id697916"></a>
=======
<a name="id720278"></a>
=======
<a name="id710053"></a>
=======
<a name="id706776"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_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">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_set.html" title="make_set"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_set</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -56,8 +114,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_SET_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.make_set.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id492877"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.parameters">Parameters</a>
=======
<a name="id743808"></a>
=======
<a name="id705812"></a>
=======
<a name="id698166"></a>
=======
<a name="id721074"></a>
=======
<a name="id710850"></a>
=======
<a name="id707573"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -91,8 +174,33 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.make_set.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id493051"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.expression_semantics">Expression
=======
<a name="id743941"></a>
=======
<a name="id707584"></a>
=======
<a name="id699938"></a>
=======
<a name="id721207"></a>
=======
<a name="id710983"></a>
=======
<a name="id707706"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">make_set</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -108,21 +216,96 @@
key types.
</p>
<a name="fusion.container.generation.functions.make_set.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id493285"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.header">Header</a>
=======
<a name="id745330"></a>
=======
<a name="id707743"></a>
=======
<a name="id700097"></a>
=======
<a name="id721367"></a>
=======
<a name="id711142"></a>
=======
<a name="id707866"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_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">generation</span><span class="special">/</span><span class="identifier">make_set</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">make_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.make_set.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id493452"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.example">Example</a>
=======
<a name="id745445"></a>
=======
<a name="id707858"></a>
=======
<a name="id700213"></a>
=======
<a name="id721482"></a>
=======
<a name="id711258"></a>
=======
<a name="id707981"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">make_set</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
</pre>
<a name="fusion.container.generation.functions.make_set.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id493526"></a>
<a href="make_set.html#fusion.container.generation.functions.make_set.see_also">See
=======
<a name="id745494"></a>
=======
<a name="id707908"></a>
=======
<a name="id700262"></a>
=======
<a name="id721531"></a>
=======
<a name="id711307"></a>
=======
<a name="id708030"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.see_also">See
>>>>>>> .merge-right.r57125
also</a>
</h6>
<p>
@ -131,7 +314,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>make_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="make_cons.html" title="make_cons">
<link rel="next" href="make_set.html" title="make_set">
@ -30,16 +38,66 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.make_vector.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491353"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.description">Description</a>
=======
<a name="id742738"></a>
=======
<a name="id704741"></a>
=======
<a name="id697095"></a>
=======
<a name="id719457"></a>
=======
<a name="id709232"></a>
=======
<a name="id705956"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Create a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>
from one or more values.
</p>
<a name="fusion.container.generation.functions.make_vector.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491399"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.synopsis">Synopsis</a>
=======
<a name="id742769"></a>
=======
<a name="id704772"></a>
=======
<a name="id697126"></a>
=======
<a name="id719488"></a>
=======
<a name="id709264"></a>
=======
<a name="id705987"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_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">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_vector</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span><span class="special">&gt;::</span><span class="identifier">type</span>
@ -56,8 +114,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.make_vector.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491757"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.parameters">Parameters</a>
=======
<a name="id743021"></a>
=======
<a name="id705024"></a>
=======
<a name="id697378"></a>
=======
<a name="id719740"></a>
=======
<a name="id709516"></a>
=======
<a name="id706239"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -91,8 +174,33 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.make_vector.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id491931"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.expression_semantics">Expression
=======
<a name="id743154"></a>
=======
<a name="id705158"></a>
=======
<a name="id697512"></a>
=======
<a name="id719873"></a>
=======
<a name="id709649"></a>
=======
<a name="id706372"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">make_vector</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -104,21 +212,96 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
</p>
<a name="fusion.container.generation.functions.make_vector.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id492155"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.header">Header</a>
=======
<a name="id743306"></a>
=======
<a name="id705310"></a>
=======
<a name="id697664"></a>
=======
<a name="id720026"></a>
=======
<a name="id709801"></a>
=======
<a name="id706524"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_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">generation</span><span class="special">/</span><span class="identifier">make_vector</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">make_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.make_vector.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id492322"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.example">Example</a>
=======
<a name="id743426"></a>
=======
<a name="id705430"></a>
=======
<a name="id697784"></a>
=======
<a name="id720146"></a>
=======
<a name="id709921"></a>
=======
<a name="id706644"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="identifier">make_vector</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
</pre>
<a name="fusion.container.generation.functions.make_vector.see_also"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id492397"></a>
<a href="make_vector.html#fusion.container.generation.functions.make_vector.see_also">See
=======
<a name="id743480"></a>
=======
<a name="id705484"></a>
=======
<a name="id697838"></a>
=======
<a name="id720200"></a>
=======
<a name="id709975"></a>
=======
<a name="id706698"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.see_also">See
>>>>>>> .merge-right.r57125
also</a>
</h6>
<p>
@ -127,7 +310,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>map_tie</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="vector_tie.html" title="vector_tie">
<link rel="next" href="../metafunctions.html" title="MetaFunctions">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.map_tie.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id497901"></a>
<a href="map_tie.html#fusion.container.generation.functions.map_tie.description">Description</a>
=======
<a name="id749917"></a>
=======
<a name="id715914"></a>
=======
<a name="id708269"></a>
=======
<a name="id731744"></a>
=======
<a name="id720410"></a>
=======
<a name="id717133"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Constructs a tie using a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> sequence.
</p>
<a name="fusion.container.generation.functions.map_tie.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id497948"></a>
<a href="map_tie.html#fusion.container.generation.functions.map_tie.synopsis">Synopsis</a>
=======
<a name="id749946"></a>
=======
<a name="id715943"></a>
=======
<a name="id708297"></a>
=======
<a name="id731773"></a>
=======
<a name="id720439"></a>
=======
<a name="id717162"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.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">K0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">KN</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">DN</span><span class="special">&gt;</span>
<a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">D0</span><span class="special">&amp;&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="identifier">K1</span><span class="special">,</span> <span class="identifier">D1</span><span class="special">&amp;&gt;,...</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="identifier">KN</span><span class="special">,</span> <span class="identifier">DN</span><span class="special">&amp;&gt;</span> <span class="special">&gt;</span>
@ -55,8 +113,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.map_tie.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id498415"></a>
<a href="map_tie.html#fusion.container.generation.functions.map_tie.parameters">Parameters</a>
=======
<a name="id750271"></a>
=======
<a name="id716268"></a>
=======
<a name="id708623"></a>
=======
<a name="id732098"></a>
=======
<a name="id720764"></a>
=======
<a name="id717487"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -106,8 +189,33 @@
</tbody>
</table></div>
<a name="fusion.container.generation.functions.map_tie.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id498679"></a>
<a href="map_tie.html#fusion.container.generation.functions.map_tie.expression_semantics">Expression
=======
<a name="id750474"></a>
=======
<a name="id716471"></a>
=======
<a name="id708825"></a>
=======
<a name="id732301"></a>
=======
<a name="id720967"></a>
=======
<a name="id717690"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">map_tie</span><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">&gt;(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -121,15 +229,65 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt> with keys <tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span></tt>
</p>
<a name="fusion.container.generation.functions.map_tie.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id498961"></a>
<a href="map_tie.html#fusion.container.generation.functions.map_tie.header">Header</a>
=======
<a name="id750660"></a>
=======
<a name="id716657"></a>
=======
<a name="id709011"></a>
=======
<a name="id732487"></a>
=======
<a name="id721153"></a>
=======
<a name="id717876"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.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">generation</span><span class="special">/</span><span class="identifier">map_tie</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">map_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.map_tie.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id499127"></a>
<a href="map_tie.html#fusion.container.generation.functions.map_tie.example">Example</a>
=======
<a name="id750775"></a>
=======
<a name="id716772"></a>
=======
<a name="id709127"></a>
=======
<a name="id732602"></a>
=======
<a name="id721337"></a>
=======
<a name="id718060"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">int_key</span><span class="special">;</span>
<span class="keyword">struct</span> <span class="identifier">double_key</span><span class="special">;</span>
@ -141,7 +299,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>Tiers</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="make_map.html" title="make_map">
<link rel="next" href="list_tie.html" title="list_tie">
@ -48,11 +56,19 @@
<a href="vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">c</span><span class="special">,</span> <span class="identifier">a</span><span class="special">);</span>
</pre>
<p>
<<<<<<< .working
The <a href="vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a> function creates
a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>
of type <tt class="computeroutput"><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&amp;,</span> <span class="keyword">char</span><span class="special">&amp;,</span> <span class="keyword">double</span><span class="special">&amp;&gt;</span></tt>. The same result could be achieved
with the call <a href="make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a>(<a href="http://www.boost.org/doc/html/ref.html" target="_top"><tt class="computeroutput"><span class="identifier">ref</span></tt></a>(i), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><tt class="computeroutput"><span class="identifier">ref</span></tt></a>(c), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><tt class="computeroutput"><span class="identifier">ref</span></tt></a>(a))
<sup>[<a name="id495412" href="#ftn.id495412">9</a>]</sup>
=======
The <a class="link" href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a> function creates
a <a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a>
of type <code class="computeroutput"><a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&amp;,</span> <span class="keyword">char</span><span class="special">&amp;,</span> <span class="keyword">double</span><span class="special">&amp;&gt;</span></code>. The same result could be achieved
with the call <a class="link" href="make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a>(<a href="http://www.boost.org/doc/html/ref.html" target="_top"><code class="computeroutput"><span class="identifier">ref</span></code></a>(i), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><code class="computeroutput"><span class="identifier">ref</span></code></a>(c), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><code class="computeroutput"><span class="identifier">ref</span></code></a>(a))
<sup>[<a name="id709333" href="#ftn.id709333" class="footnote">9</a>]</sup>
>>>>>>> .merge-right.r57125
.
</p>
<p>
@ -69,8 +85,33 @@
when calling functions which return sequences.
</p>
<a name="fusion.container.generation.functions.tiers.ignore"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id495712"></a>
<a href="tiers.html#fusion.container.generation.functions.tiers.ignore">Ignore</a>
=======
<a name="id747017"></a>
=======
<a name="id709430"></a>
=======
<a name="id701785"></a>
=======
<a name="id723054"></a>
=======
<a name="id712830"></a>
=======
<a name="id709553"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="tiers.html#fusion.container.generation.functions.tiers.ignore">Ignore</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
There is also an object called <span class="emphasis"><em>ignore</em></span> which allows
@ -83,7 +124,31 @@
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<div class="footnote"><p><sup>[<a name="ftn.id495412" href="#id495412">9</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id746798" href="#id746798" class="para">9</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id709211" href="#id709211" class="para">9</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id701565" href="#id701565" class="para">9</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id722834" href="#id722834" class="para">9</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id712610" href="#id712610" class="para">9</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id709333" href="#id709333" class="para">9</a>] </sup>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
>>>>>>> .merge-right.r57125
see <a href="http://www.boost.org/doc/html/ref.html" target="_top">Boost.Ref</a>
for details about <tt class="computeroutput"><span class="identifier">ref</span></tt>
</p></div>
@ -91,7 +156,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>vector_tie</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="list_tie.html" title="list_tie">
<link rel="next" href="map_tie.html" title="map_tie">
@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.container.generation.functions.vector_tie.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496890"></a>
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.description">Description</a>
=======
<a name="id749202"></a>
=======
<a name="id715199"></a>
=======
<a name="id707553"></a>
=======
<a name="id731029"></a>
=======
<a name="id719695"></a>
=======
<a name="id716418"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Constructs a tie using a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> sequence.
</p>
<a name="fusion.container.generation.functions.vector_tie.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id496938"></a>
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.synopsis">Synopsis</a>
=======
<a name="id749233"></a>
=======
<a name="id715230"></a>
=======
<a name="id707585"></a>
=======
<a name="id731060"></a>
=======
<a name="id719726"></a>
=======
<a name="id716449"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.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">T0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">&gt;</span>
<a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="identifier">T0</span><span class="special">&amp;,</span> <span class="identifier">T1</span><span class="special">&amp;,...</span> <span class="identifier">TN</span><span class="special">&amp;&gt;</span>
@ -55,8 +113,33 @@
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.functions.vector_tie.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id497252"></a>
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.parameters">Parameters</a>
=======
<a name="id749455"></a>
=======
<a name="id715452"></a>
=======
<a name="id707807"></a>
=======
<a name="id731282"></a>
=======
<a name="id719948"></a>
=======
<a name="id716671"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -90,8 +173,33 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.vector_tie.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id497426"></a>
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.expression_semantics">Expression
=======
<a name="id749588"></a>
=======
<a name="id715586"></a>
=======
<a name="id707940"></a>
=======
<a name="id731415"></a>
=======
<a name="id720081"></a>
=======
<a name="id716804"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">vector_tie</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
@ -104,15 +212,65 @@
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
</p>
<a name="fusion.container.generation.functions.vector_tie.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id497592"></a>
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.header">Header</a>
=======
<a name="id749697"></a>
=======
<a name="id715695"></a>
=======
<a name="id708049"></a>
=======
<a name="id731524"></a>
=======
<a name="id720190"></a>
=======
<a name="id716914"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.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">generation</span><span class="special">/</span><span class="identifier">vector_tie</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">vector_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.functions.vector_tie.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id497759"></a>
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.example">Example</a>
=======
<a name="id749815"></a>
=======
<a name="id715812"></a>
=======
<a name="id708167"></a>
=======
<a name="id731642"></a>
=======
<a name="id720308"></a>
=======
<a name="id717031"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">123.456</span><span class="special">;</span>
@ -121,7 +279,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>)