added reverse_fold/iter_fold/reverse_iter_fold (2) (fixes #1623)

[SVN r63083]
This commit is contained in:
Christopher Schmidt
2010-06-18 17:23:20 +00:00
parent ea89db72cb
commit 758178a2a8
272 changed files with 2233 additions and 2089 deletions

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="tiers.html" title="Tiers">
@ -27,14 +27,14 @@
<a name="fusion.container.generation.functions.list_tie"></a><a class="link" href="list_tie.html" title="list_tie">list_tie</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.list_tie.description"></a><h6>
<a name="id847678"></a>
<a name="id949028"></a>
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
</h6>
<p>
Constructs a tie using a <a class="link" href="../../list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> sequence.
</p>
<a name="fusion.container.generation.functions.list_tie.synopsis"></a><h6>
<a name="id847724"></a>
<a name="id949056"></a>
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a>
</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>
@ -52,7 +52,7 @@
<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>
<a name="id848039"></a>
<a name="id949276"></a>
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -99,7 +99,7 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.list_tie.expression_semantics"></a><h6>
<a name="id848218"></a>
<a name="id949414"></a>
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -113,14 +113,14 @@
<span class="bold"><strong>Semantics</strong></span>: Create a <a class="link" href="../../list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> of references from <code 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></code>.
</p>
<a name="fusion.container.generation.functions.list_tie.header"></a><h6>
<a name="id848384"></a>
<a name="id949523"></a>
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a>
</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>
<a name="id848552"></a>
<a name="id949638"></a>
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
</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>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_list.html" title="make_list">
@ -27,7 +27,7 @@
<a name="fusion.container.generation.functions.make_cons"></a><a class="link" href="make_cons.html" title="make_cons">make_cons</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.make_cons.description"></a><h6>
<a name="id837710"></a>
<a name="id944344"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
</h6>
<p>
@ -36,7 +36,7 @@
and optional <code class="computeroutput"><span class="identifier">cdr</span></code> (<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.container.generation.functions.make_cons.synopsis"></a><h6>
<a name="id837788"></a>
<a name="id944397"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a>
</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>
@ -48,7 +48,7 @@
<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>
<a name="id838119"></a>
<a name="id944635"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -112,7 +112,7 @@
</tbody>
</table></div>
<a name="fusion.container.generation.functions.make_cons.expression_semantics"></a><h6>
<a name="id838291"></a>
<a name="id944773"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
Semantics</a>
</h6>
@ -127,20 +127,20 @@
(<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.container.generation.functions.make_cons.header"></a><h6>
<a name="id838542"></a>
<a name="id944937"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a>
</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>
<a name="id838709"></a>
<a name="id945052"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
</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>
<a name="id838782"></a>
<a name="id945240"></a>
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
also</a>
</h6>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="../functions.html" title="Functions">
@ -27,7 +27,7 @@
<a name="fusion.container.generation.functions.make_list"></a><a class="link" href="make_list.html" title="make_list">make_list</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.make_list.description"></a><h6>
<a name="id836584"></a>
<a name="id943557"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
</h6>
<p>
@ -35,7 +35,7 @@
from one or more values.
</p>
<a name="fusion.container.generation.functions.make_list.synopsis"></a><h6>
<a name="id836631"></a>
<a name="id943588"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a>
</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>
@ -53,7 +53,7 @@
<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>
<a name="id836993"></a>
<a name="id943840"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -100,7 +100,7 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.make_list.expression_semantics"></a><h6>
<a name="id837171"></a>
<a name="id943978"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
Semantics</a>
</h6>
@ -113,20 +113,20 @@
<span class="bold"><strong>Semantics</strong></span>: Create a <a class="link" href="../../list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> from <code 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></code>.
</p>
<a name="fusion.container.generation.functions.make_list.header"></a><h6>
<a name="id837393"></a>
<a name="id944128"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a>
</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>
<a name="id837560"></a>
<a name="id944244"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
</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>
<a name="id837634"></a>
<a name="id944295"></a>
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
also</a>
</h6>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_set.html" title="make_set">
@ -27,7 +27,7 @@
<a name="fusion.container.generation.functions.make_map"></a><a class="link" href="make_map.html" title="make_map">make_map</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.make_map.description"></a><h6>
<a name="id841113"></a>
<a name="id946873"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.description">Description</a>
</h6>
<p>
@ -35,7 +35,7 @@
from one or more key/data pairs.
</p>
<a name="fusion.container.generation.functions.make_map.synopsis"></a><h6>
<a name="id841160"></a>
<a name="id946903"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span>
@ -55,7 +55,7 @@
<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>
<a name="id841607"></a>
<a name="id947220"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -123,7 +123,7 @@
</tbody>
</table></div>
<a name="fusion.container.generation.functions.make_map.expression_semantics"></a><h6>
<a name="id841879"></a>
<a name="id947979"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.expression_semantics">Expression
Semantics</a>
</h6>
@ -143,20 +143,20 @@
key types.
</p>
<a name="fusion.container.generation.functions.make_map.header"></a><h6>
<a name="id842212"></a>
<a name="id948212"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.header">Header</a>
</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>
<a name="id842380"></a>
<a name="id948327"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.example">Example</a>
</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>
<a name="id842464"></a>
<a name="id948383"></a>
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.see_also">See
also</a>
</h6>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_vector.html" title="make_vector">
@ -27,7 +27,7 @@
<a name="fusion.container.generation.functions.make_set"></a><a class="link" href="make_set.html" title="make_set">make_set</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.make_set.description"></a><h6>
<a name="id839979"></a>
<a name="id946086"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.description">Description</a>
</h6>
<p>
@ -35,7 +35,7 @@
from one or more values.
</p>
<a name="fusion.container.generation.functions.make_set.synopsis"></a><h6>
<a name="id840026"></a>
<a name="id946115"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.synopsis">Synopsis</a>
</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>
@ -53,7 +53,7 @@
<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>
<a name="id840384"></a>
<a name="id946364"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -100,7 +100,7 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.make_set.expression_semantics"></a><h6>
<a name="id840563"></a>
<a name="id946502"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.expression_semantics">Expression
Semantics</a>
</h6>
@ -117,20 +117,20 @@
key types.
</p>
<a name="fusion.container.generation.functions.make_set.header"></a><h6>
<a name="id840796"></a>
<a name="id946662"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.header">Header</a>
</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>
<a name="id840963"></a>
<a name="id946777"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.example">Example</a>
</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>
<a name="id841038"></a>
<a name="id946826"></a>
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.see_also">See
also</a>
</h6>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_cons.html" title="make_cons">
@ -27,7 +27,7 @@
<a name="fusion.container.generation.functions.make_vector"></a><a class="link" href="make_vector.html" title="make_vector">make_vector</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.make_vector.description"></a><h6>
<a name="id838856"></a>
<a name="id945289"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.description">Description</a>
</h6>
<p>
@ -35,7 +35,7 @@
from one or more values.
</p>
<a name="fusion.container.generation.functions.make_vector.synopsis"></a><h6>
<a name="id838901"></a>
<a name="id945320"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.synopsis">Synopsis</a>
</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>
@ -53,7 +53,7 @@
<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>
<a name="id839260"></a>
<a name="id945572"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -100,7 +100,7 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.make_vector.expression_semantics"></a><h6>
<a name="id839438"></a>
<a name="id945710"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.expression_semantics">Expression
Semantics</a>
</h6>
@ -113,20 +113,20 @@
<span class="bold"><strong>Semantics</strong></span>: Create a <a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> from <code 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></code>.
</p>
<a name="fusion.container.generation.functions.make_vector.header"></a><h6>
<a name="id839662"></a>
<a name="id945863"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.header">Header</a>
</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>
<a name="id839830"></a>
<a name="id945983"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.example">Example</a>
</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>
<a name="id839904"></a>
<a name="id946037"></a>
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.see_also">See
also</a>
</h6>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="vector_tie.html" title="vector_tie">
@ -27,14 +27,14 @@
<a name="fusion.container.generation.functions.map_tie"></a><a class="link" href="map_tie.html" title="map_tie">map_tie</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.map_tie.description"></a><h6>
<a name="id849707"></a>
<a name="id955822"></a>
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.description">Description</a>
</h6>
<p>
Constructs a tie using a <a class="link" href="../../map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> sequence.
</p>
<a name="fusion.container.generation.functions.map_tie.synopsis"></a><h6>
<a name="id849754"></a>
<a name="id955851"></a>
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.synopsis">Synopsis</a>
</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>
@ -52,7 +52,7 @@
<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>
<a name="id850222"></a>
<a name="id956176"></a>
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -121,7 +121,7 @@
</tbody>
</table></div>
<a name="fusion.container.generation.functions.map_tie.expression_semantics"></a><h6>
<a name="id850493"></a>
<a name="id956385"></a>
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -136,14 +136,14 @@
<span class="bold"><strong>Semantics</strong></span>: Create a <a class="link" href="../../map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> of references from <code 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></code> with keys <code 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></code>
</p>
<a name="fusion.container.generation.functions.map_tie.header"></a><h6>
<a name="id850775"></a>
<a name="id956571"></a>
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.header">Header</a>
</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>
<a name="id850941"></a>
<a name="id956686"></a>
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">int_key</span><span class="special">;</span>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_map.html" title="make_map">
@ -54,7 +54,7 @@
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="id847209" href="#ftn.id847209" class="footnote">9</a>]</sup>.
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="id948695" href="#ftn.id948695" class="footnote">9</a>]</sup>.
</p>
<p>
A <span class="emphasis"><em>tie</em></span> can be used to 'unpack' another tuple into
@ -70,7 +70,7 @@
when calling functions which return sequences.
</p>
<a name="fusion.container.generation.functions.tiers.ignore"></a><h6>
<a name="id847509"></a>
<a name="id948915"></a>
<a class="link" href="tiers.html#fusion.container.generation.functions.tiers.ignore">Ignore</a>
</h6>
<p>
@ -84,7 +84,7 @@
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a id="ftn.id847209" href="#id847209" class="para">9</a>] </sup>
<div class="footnote"><p><sup>[<a name="ftn.id948695" href="#id948695" class="para">9</a>] </sup>
see <a href="http://www.boost.org/doc/html/ref.html" target="_top">Boost.Ref</a>
for details about <code class="computeroutput"><span class="identifier">ref</span></code>
</p></div>

View File

@ -3,7 +3,7 @@
<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">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="list_tie.html" title="list_tie">
@ -27,14 +27,14 @@
<a name="fusion.container.generation.functions.vector_tie"></a><a class="link" href="vector_tie.html" title="vector_tie">vector_tie</a>
</h5></div></div></div>
<a name="fusion.container.generation.functions.vector_tie.description"></a><h6>
<a name="id848692"></a>
<a name="id949738"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.description">Description</a>
</h6>
<p>
Constructs a tie using a <a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> sequence.
</p>
<a name="fusion.container.generation.functions.vector_tie.synopsis"></a><h6>
<a name="id848739"></a>
<a name="id949769"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.synopsis">Synopsis</a>
</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>
@ -52,7 +52,7 @@
<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>
<a name="id849054"></a>
<a name="id949991"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -99,7 +99,7 @@
</tr></tbody>
</table></div>
<a name="fusion.container.generation.functions.vector_tie.expression_semantics"></a><h6>
<a name="id849232"></a>
<a name="id955494"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -113,14 +113,14 @@
<span class="bold"><strong>Semantics</strong></span>: Create a <a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> of references from <code 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></code>.
</p>
<a name="fusion.container.generation.functions.vector_tie.header"></a><h6>
<a name="id849398"></a>
<a name="id955603"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.header">Header</a>
</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>
<a name="id849565"></a>
<a name="id955720"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.example">Example</a>
</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>