adds documentation for functional module

[SVN r36959]
This commit is contained in:
Tobias Schwinger
2007-02-15 23:11:24 +00:00
parent 67f0df4958
commit ca6f831b96
247 changed files with 8675 additions and 3833 deletions

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../generation.html" title="Generation">
<link rel="prev" href="../generation.html" title="Generation">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>list_tie</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="tiers.html" title="Tiers">
@ -26,34 +26,34 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.list_tie"></a><a href="list_tie.html" title="list_tie">list_tie</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.list_tie.description"></a><h6>
<a name="id531220"></a>
<a name="id1043772"></a>
<a href="list_tie.html#fusion.sequences.generation.functions.list_tie.description">Description</a>
</h6>
<p>
Constructs a tie using a <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> sequence.
Constructs a tie using a <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> sequence.
</p>
<a name="fusion.sequences.generation.functions.list_tie.synopsis"></a><h6>
<a name="id531268"></a>
<a name="id1043814"></a>
<a href="list_tie.html#fusion.sequences.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>
<a href="../../containers/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>
<a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></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>
<span class="identifier">list_tie</span><span class="special">(</span><span class="identifier">T0</span><span class="special">&amp;</span> <span class="identifier">x0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">&amp;</span> <span class="identifier">x1</span><span class="special">...</span> <span class="identifier">TN</span><span class="special">&amp;</span> <span class="identifier">xN</span><span class="special">);</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.functions.list_tie.parameters"></a><h6>
<a name="id531578"></a>
<a name="id1044090"></a>
<a href="list_tie.html#fusion.sequences.generation.functions.list_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -68,21 +68,21 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">xN</span></code></td>
<td>Instances
of <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
of <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt>
<span class="identifier">TN</span></code>
</td>
<td>The
arguments to <tt class="computeroutput"><span class="identifier">list_tie</span></tt>
arguments to <code class="computeroutput"><span class="identifier">list_tie</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.functions.list_tie.expression_semantics"></a><h6>
<a name="id531720"></a>
<a name="id1044216"></a>
<a href="list_tie.html#fusion.sequences.generation.functions.list_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -90,21 +90,21 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>&lt;T0&amp;, T1&amp;,...
<span class="bold"><strong>Return type</strong></span>: <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a>&lt;T0&amp;, T1&amp;,...
TN&amp;&gt;
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/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>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/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.sequences.generation.functions.list_tie.header"></a><h6>
<a name="id531885"></a>
<a name="id1044359"></a>
<a href="list_tie.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.list_tie.example"></a><h6>
<a name="id531990"></a>
<a name="id1044452"></a>
<a href="list_tie.html#fusion.sequences.generation.functions.list_tie.example">Example</a>
</h6>
<pre class="programlisting">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_cons</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_list.html" title="make_list">
@ -26,29 +26,29 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.make_cons"></a><a href="make_cons.html" title="make_cons">make_cons</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.make_cons.description"></a><h6>
<a name="id525901"></a>
<a name="id1039071"></a>
<a href="make_cons.html#fusion.sequences.generation.functions.make_cons.description">Description</a>
</h6>
<p>
Create a <a href="../../containers/cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a> from <tt class="computeroutput"><span class="identifier">car</span></tt>
(<span class="emphasis"><em>head</em></span>) and optional <tt class="computeroutput"><span class="identifier">cdr</span></tt>
Create a <a href="../../containers/cons.html" title="cons"><code class="computeroutput"><span class="identifier">cons</span></code></a> from <code class="computeroutput"><span class="identifier">car</span></code>
(<span class="emphasis"><em>head</em></span>) and optional <code class="computeroutput"><span class="identifier">cdr</span></code>
(<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.sequences.generation.functions.make_cons.synopsis"></a><h6>
<a name="id525976"></a>
<a name="id1039138"></a>
<a href="make_cons.html#fusion.sequences.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>
<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>
<span class="keyword">typename</span> <a href="../metafunctions/make_cons.html" title="make_cons"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></code></a><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">&gt;::</span><span class="identifier">type</span>
<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="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Car</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Cdr</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">,</span> <span class="identifier">Cdr</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="keyword">typename</span> <a href="../metafunctions/make_cons.html" title="make_cons"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></code></a><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">,</span> <span class="identifier">Cdr</span><span class="special">&gt;::</span><span class="identifier">type</span>
<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.sequences.generation.functions.make_cons.parameters"></a><h6>
<a name="id526310"></a>
<a name="id1039432"></a>
<a href="make_cons.html#fusion.sequences.generation.functions.make_cons.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -64,17 +64,17 @@
</tr></thead>
<tbody>
<tr>
<td><tt class="computeroutput"><span class="identifier">car</span></tt></td>
<td><code class="computeroutput"><span class="identifier">car</span></code></td>
<td>Instance
of <tt class="computeroutput"><span class="identifier">Car</span></tt>
of <code class="computeroutput"><span class="identifier">Car</span></code>
</td>
<td>The
list's head</td>
</tr>
<tr>
<td><tt class="computeroutput"><span class="identifier">cdr</span></tt></td>
<td><code class="computeroutput"><span class="identifier">cdr</span></code></td>
<td>Instance
of <tt class="computeroutput"><span class="identifier">Cdr</span></tt>
of <code class="computeroutput"><span class="identifier">Cdr</span></code>
</td>
<td>The
list's tail (optional)</td>
@ -82,7 +82,7 @@
</tbody>
</table></div>
<a name="fusion.sequences.generation.functions.make_cons.expression_semantics"></a><h6>
<a name="id526428"></a>
<a name="id1039537"></a>
<a href="make_cons.html#fusion.sequences.generation.functions.make_cons.expression_semantics">Expression
Semantics</a>
</h6>
@ -90,34 +90,34 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></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><tt class="computeroutput"><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">,</span> <span class="identifier">Cdr</span><span class="special">&gt;::</span><span class="identifier">type</span></tt> or <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><tt class="computeroutput"><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">&gt;::</span><span class="identifier">type</span></tt>
<span class="bold"><strong>Return type</strong></span>: <a href="../metafunctions/make_cons.html" title="make_cons"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></code></a><code class="computeroutput"><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">,</span> <span class="identifier">Cdr</span><span class="special">&gt;::</span><span class="identifier">type</span></code> or <a href="../metafunctions/make_cons.html" title="make_cons"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span></code></a><code class="computeroutput"><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">&gt;::</span><span class="identifier">type</span></code>
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a> from <tt class="computeroutput"><span class="identifier">car</span></tt>
(<span class="emphasis"><em>head</em></span>) and optional <tt class="computeroutput"><span class="identifier">cdr</span></tt>
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/cons.html" title="cons"><code class="computeroutput"><span class="identifier">cons</span></code></a> from <code class="computeroutput"><span class="identifier">car</span></code>
(<span class="emphasis"><em>head</em></span>) and optional <code class="computeroutput"><span class="identifier">cdr</span></code>
(<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.sequences.generation.functions.make_cons.header"></a><h6>
<a name="id526671"></a>
<a name="id1039750"></a>
<a href="make_cons.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.make_cons.example"></a><h6>
<a name="id526777"></a>
<a name="id1039843"></a>
<a href="make_cons.html#fusion.sequences.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.sequences.generation.functions.make_cons.see_also"></a><h6>
<a name="id526851"></a>
<a name="id1039909"></a>
<a href="make_cons.html#fusion.sequences.generation.functions.make_cons.see_also">See
also</a>
</h6>
<p>
<a href="../../../notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>
<a href="../../../notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_list</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="../functions.html" title="Functions">
@ -26,34 +26,34 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.make_list"></a><a href="make_list.html" title="make_list">make_list</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.make_list.description"></a><h6>
<a name="id524875"></a>
<a name="id1038166"></a>
<a href="make_list.html#fusion.sequences.generation.functions.make_list.description">Description</a>
</h6>
<p>
Create a <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> from one or more values.
Create a <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> from one or more values.
</p>
<a name="fusion.sequences.generation.functions.make_list.synopsis"></a><h6>
<a name="id524923"></a>
<a name="id1038209"></a>
<a href="make_list.html#fusion.sequences.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>
<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>
<span class="keyword">typename</span> <a href="../metafunctions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span></code></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>
<span class="identifier">make_list</span><span class="special">(</span><span class="identifier">T0</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x0</span><span class="special">,</span> <span class="identifier">T1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x1</span><span class="special">...</span> <span class="identifier">TN</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">xN</span><span class="special">);</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.functions.make_list.parameters"></a><h6>
<a name="id525278"></a>
<a name="id1038523"></a>
<a href="make_list.html#fusion.sequences.generation.functions.make_list.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -68,21 +68,21 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">xN</span></code></td>
<td>Instances
of <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
of <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt>
<span class="identifier">TN</span></code>
</td>
<td>The
arguments to <tt class="computeroutput"><span class="identifier">make_list</span></tt>
arguments to <code class="computeroutput"><span class="identifier">make_list</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.functions.make_list.expression_semantics"></a><h6>
<a name="id525421"></a>
<a name="id1038649"></a>
<a href="make_list.html#fusion.sequences.generation.functions.make_list.expression_semantics">Expression
Semantics</a>
</h6>
@ -90,32 +90,32 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></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><tt class="computeroutput"><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></tt>
<span class="bold"><strong>Return type</strong></span>: <a href="../metafunctions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span></code></a><code class="computeroutput"><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></code>
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/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>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/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.sequences.generation.functions.make_list.header"></a><h6>
<a name="id525641"></a>
<a name="id1038841"></a>
<a href="make_list.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.make_list.example"></a><h6>
<a name="id525747"></a>
<a name="id1038934"></a>
<a href="make_list.html#fusion.sequences.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.sequences.generation.functions.make_list.see_also"></a><h6>
<a name="id525823"></a>
<a name="id1039002"></a>
<a href="make_list.html#fusion.sequences.generation.functions.make_list.see_also">See
also</a>
</h6>
<p>
<a href="../../../notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>
<a href="../../../notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_map</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_set.html" title="make_set">
@ -26,38 +26,38 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.make_map"></a><a href="make_map.html" title="make_map">make_map</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.make_map.description"></a><h6>
<a name="id529015"></a>
<a name="id1041820"></a>
<a href="make_map.html#fusion.sequences.generation.functions.make_map.description">Description</a>
</h6>
<p>
Create a <a href="../../containers/map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> from one or more key/data
Create a <a href="../../containers/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> from one or more key/data
pairs.
</p>
<a name="fusion.sequences.generation.functions.make_map.synopsis"></a><h6>
<a name="id529063"></a>
<a name="id1041862"></a>
<a href="make_map.html#fusion.sequences.generation.functions.make_map.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">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_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span></tt></a><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K0</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</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>
<span class="keyword">typename</span> <a href="../metafunctions/make_map.html" title="make_map"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span></code></a><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K0</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</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>
<span class="identifier">make_map</span><span class="special">(</span><span class="identifier">T0</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x0</span><span class="special">,</span> <span class="identifier">T1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x1</span><span class="special">...</span> <span class="identifier">TN</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">xN</span><span class="special">);</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<sup>[<a name="id529435" href="#ftn.id529435">10</a>]</sup>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
<sup>[<a name="id1042190" href="#ftn.id1042190">10</a>]</sup>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.functions.make_map.parameters"></a><h6>
<a name="id529531"></a>
<a name="id1042278"></a>
<a href="make_map.html#fusion.sequences.generation.functions.make_map.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -73,31 +73,31 @@
</tr></thead>
<tbody>
<tr>
<td><tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">KN</span></code></td>
<td>The
key types</td>
<td>Keys associated with <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>
<td>Keys associated with <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>
</td>
</tr>
<tr>
<td><tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">xN</span></code></td>
<td>Instances
of <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
of <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt>
<span class="identifier">TN</span></code>
</td>
<td>The
arguments to <tt class="computeroutput"><span class="identifier">make_map</span></tt>
arguments to <code class="computeroutput"><span class="identifier">make_map</span></code>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.sequences.generation.functions.make_map.expression_semantics"></a><h6>
<a name="id529748"></a>
<a name="id1042470"></a>
<a href="make_map.html#fusion.sequences.generation.functions.make_map.expression_semantics">Expression
Semantics</a>
</h6>
@ -105,48 +105,48 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: <a href="../metafunctions/make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span></tt></a><tt class="computeroutput"><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K0</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</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></tt>
<span class="bold"><strong>Return type</strong></span>: <a href="../metafunctions/make_map.html" title="make_map"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span></code></a><code class="computeroutput"><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K0</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</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></code>
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> from <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>
keys and <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> from <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>
keys and <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></tt> data.
<span class="identifier">xN</span></code> data.
</p>
<p>
<span class="bold"><b>Precondition</b></span>: There may be no duplicate
<span class="bold"><strong>Precondition</strong></span>: There may be no duplicate
key types.
</p>
<a name="fusion.sequences.generation.functions.make_map.header"></a><h6>
<a name="id530077"></a>
<a name="id1042757"></a>
<a href="make_map.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.make_map.example"></a><h6>
<a name="id530182"></a>
<a name="id1042850"></a>
<a href="make_map.html#fusion.sequences.generation.functions.make_map.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">make_map</span><span class="special">(</span>
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="char">'X'</span><span class="special">)</span>
<span class="special">,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;(</span><span class="string">"Men"</span><span class="special">))</span>
<a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">make_pair</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="char">'X'</span><span class="special">)</span>
<span class="special">,</span> <a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">make_pair</span></code></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;(</span><span class="string">"Men"</span><span class="special">))</span>
</pre>
<a name="fusion.sequences.generation.functions.make_map.see_also"></a><h6>
<a name="id530312"></a>
<a name="id1042966"></a>
<a href="make_map.html#fusion.sequences.generation.functions.make_map.see_also">See
also</a>
</h6>
<p>
<a href="../../../notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>,
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a>
<a href="../../../notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>,
<a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></code></a>
</p>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id529435" href="#id529435">10</a>] </sup>
<tt class="computeroutput"><span class="identifier">map</span></tt> is implemented
in terms of the vector. That is why we reuse <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<div class="footnote"><p><sup>[<a name="ftn.id1042190" href="#id1042190">10</a>] </sup>
<code class="computeroutput"><span class="identifier">map</span></code> is implemented
in terms of the vector. That is why we reuse <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
</p></div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_set</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_vector.html" title="make_vector">
@ -26,35 +26,35 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.make_set"></a><a href="make_set.html" title="make_set">make_set</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.make_set.description"></a><h6>
<a name="id527955"></a>
<a name="id1040884"></a>
<a href="make_set.html#fusion.sequences.generation.functions.make_set.description">Description</a>
</h6>
<p>
Create a <a href="../../containers/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a> from one or more values.
Create a <a href="../../containers/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> from one or more values.
</p>
<a name="fusion.sequences.generation.functions.make_set.synopsis"></a><h6>
<a name="id528002"></a>
<a name="id1040925"></a>
<a href="make_set.html#fusion.sequences.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>
<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>
<span class="keyword">typename</span> <a href="../metafunctions/make_set.html" title="make_set"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_set</span></code></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>
<span class="identifier">make_set</span><span class="special">(</span><span class="identifier">T0</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x0</span><span class="special">,</span> <span class="identifier">T1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x1</span><span class="special">...</span> <span class="identifier">TN</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">xN</span><span class="special">);</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<sup>[<a name="id528287" href="#ftn.id528287">9</a>]</sup>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
<sup>[<a name="id1041176" href="#ftn.id1041176">9</a>]</sup>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.functions.make_set.parameters"></a><h6>
<a name="id528383"></a>
<a name="id1041264"></a>
<a href="make_set.html#fusion.sequences.generation.functions.make_set.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -69,21 +69,21 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">xN</span></code></td>
<td>Instances
of <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
of <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt>
<span class="identifier">TN</span></code>
</td>
<td>The
arguments to <tt class="computeroutput"><span class="identifier">make_set</span></tt>
arguments to <code class="computeroutput"><span class="identifier">make_set</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.functions.make_set.expression_semantics"></a><h6>
<a name="id528526"></a>
<a name="id1041391"></a>
<a href="make_set.html#fusion.sequences.generation.functions.make_set.expression_semantics">Expression
Semantics</a>
</h6>
@ -91,42 +91,42 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></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><tt class="computeroutput"><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></tt>
<span class="bold"><strong>Return type</strong></span>: <a href="../metafunctions/make_set.html" title="make_set"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_set</span></code></a><code class="computeroutput"><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></code>
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</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>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/set.html" title="set"><code class="computeroutput"><span class="identifier">set</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>
<p>
<span class="bold"><b>Precondition</b></span>: There may be no duplicate
<span class="bold"><strong>Precondition</strong></span>: There may be no duplicate
key types.
</p>
<a name="fusion.sequences.generation.functions.make_set.header"></a><h6>
<a name="id528757"></a>
<a name="id1041592"></a>
<a href="make_set.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.make_set.example"></a><h6>
<a name="id528863"></a>
<a name="id1041685"></a>
<a href="make_set.html#fusion.sequences.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.sequences.generation.functions.make_set.see_also"></a><h6>
<a name="id528939"></a>
<a name="id1041753"></a>
<a href="make_set.html#fusion.sequences.generation.functions.make_set.see_also">See
also</a>
</h6>
<p>
<a href="../../../notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>
<a href="../../../notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>
</p>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id528287" href="#id528287">9</a>] </sup>
<tt class="computeroutput"><span class="identifier">set</span></tt> is implemented
in terms of the vector. That is why we reuse <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<div class="footnote"><p><sup>[<a name="ftn.id1041176" href="#id1041176">9</a>] </sup>
<code class="computeroutput"><span class="identifier">set</span></code> is implemented
in terms of the vector. That is why we reuse <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
</p></div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_vector</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_cons.html" title="make_cons">
@ -26,34 +26,34 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.make_vector"></a><a href="make_vector.html" title="make_vector">make_vector</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.make_vector.description"></a><h6>
<a name="id526930"></a>
<a name="id1039979"></a>
<a href="make_vector.html#fusion.sequences.generation.functions.make_vector.description">Description</a>
</h6>
<p>
Create a <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> from one or more values.
Create a <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> from one or more values.
</p>
<a name="fusion.sequences.generation.functions.make_vector.synopsis"></a><h6>
<a name="id526977"></a>
<a name="id1040022"></a>
<a href="make_vector.html#fusion.sequences.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>
<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>
<span class="keyword">typename</span> <a href="../metafunctions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_vector</span></code></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>
<span class="identifier">make_vector</span><span class="special">(</span><span class="identifier">T0</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x0</span><span class="special">,</span> <span class="identifier">T1</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">x1</span><span class="special">...</span> <span class="identifier">TN</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">xN</span><span class="special">);</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.functions.make_vector.parameters"></a><h6>
<a name="id527330"></a>
<a name="id1040336"></a>
<a href="make_vector.html#fusion.sequences.generation.functions.make_vector.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -68,21 +68,21 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">xN</span></code></td>
<td>Instances
of <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
of <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt>
<span class="identifier">TN</span></code>
</td>
<td>The
arguments to <tt class="computeroutput"><span class="identifier">make_vector</span></tt>
arguments to <code class="computeroutput"><span class="identifier">make_vector</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.functions.make_vector.expression_semantics"></a><h6>
<a name="id527474"></a>
<a name="id1040462"></a>
<a href="make_vector.html#fusion.sequences.generation.functions.make_vector.expression_semantics">Expression
Semantics</a>
</h6>
@ -90,32 +90,32 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></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><tt class="computeroutput"><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></tt>
<span class="bold"><strong>Return type</strong></span>: <a href="../metafunctions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_vector</span></code></a><code class="computeroutput"><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></code>
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/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>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/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.sequences.generation.functions.make_vector.header"></a><h6>
<a name="id527694"></a>
<a name="id1040654"></a>
<a href="make_vector.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.make_vector.example"></a><h6>
<a name="id527801"></a>
<a name="id1040747"></a>
<a href="make_vector.html#fusion.sequences.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.sequences.generation.functions.make_vector.see_also"></a><h6>
<a name="id527877"></a>
<a name="id1040815"></a>
<a href="make_vector.html#fusion.sequences.generation.functions.make_vector.see_also">See
also</a>
</h6>
<p>
<a href="../../../notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>
<a href="../../../notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Tiers</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="make_map.html" title="make_map">
@ -32,8 +32,8 @@
flavors.
</p>
<div class="itemizedlist"><ul type="disc">
<li><a href="list_tie.html" title="list_tie"><tt class="computeroutput"><span class="identifier">list_tie</span></tt></a></li>
<li><a href="vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a></li>
<li><a href="list_tie.html" title="list_tie"><code class="computeroutput"><span class="identifier">list_tie</span></code></a></li>
<li><a href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a></li>
</ul></div>
<p>
Example:
@ -41,14 +41,14 @@
<pre class="programlisting">
<span class="keyword">int</span> <span class="identifier">i</span><span class="special">;</span> <span class="keyword">char</span> <span class="identifier">c</span><span class="special">;</span> <span class="keyword">double</span> <span class="identifier">d</span><span class="special">;</span>
<span class="special">...</span>
<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>
<a href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></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>
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="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>
of type <tt class="computeroutput"><a href="../../containers/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="id530746" href="#ftn.id530746">11</a>]</sup>
The <a href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a> function creates
a <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a>
of type <code class="computeroutput"><a href="../../containers/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 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="id1043350" href="#ftn.id1043350">11</a>]</sup>
.
</p>
<p>
@ -57,7 +57,7 @@
</p>
<pre class="programlisting">
<span class="keyword">int</span> <span class="identifier">i</span><span class="special">;</span> <span class="keyword">char</span> <span class="identifier">c</span><span class="special">;</span> <span class="keyword">double</span> <span class="identifier">d</span><span class="special">;</span>
<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">d</span><span class="special">)</span> <span class="special">=</span> <a href="make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="char">'a'</span><span class="special">,</span> <span class="number">5.5</span><span class="special">);</span>
<a href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></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">d</span><span class="special">)</span> <span class="special">=</span> <a href="make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="char">'a'</span><span class="special">,</span> <span class="number">5.5</span><span class="special">);</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">i</span> <span class="special">&lt;&lt;</span> <span class="string">" "</span> <span class="special">&lt;&lt;</span> <span class="identifier">c</span> <span class="special">&lt;&lt;</span> <span class="string">" "</span> <span class="special">&lt;&lt;</span> <span class="identifier">d</span><span class="special">;</span>
</pre>
<p>
@ -66,7 +66,7 @@
when calling functions which return sequences.
</p>
<a name="fusion.sequences.generation.functions.tiers.ignore"></a><h6>
<a name="id531049"></a>
<a name="id1043619"></a>
<a href="tiers.html#fusion.sequences.generation.functions.tiers.ignore">Ignore</a>
</h6>
<p>
@ -77,13 +77,13 @@
</p>
<pre class="programlisting">
<span class="keyword">char</span> <span class="identifier">c</span><span class="special">;</span>
<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">ignore</span><span class="special">,</span> <span class="identifier">c</span><span class="special">)</span> <span class="special">=</span> <a href="make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
<a href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a><span class="special">(</span><span class="identifier">ignore</span><span class="special">,</span> <span class="identifier">c</span><span class="special">)</span> <span class="special">=</span> <a href="make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">);</span>
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id530746" href="#id530746">11</a>] </sup>
<div class="footnote"><p><sup>[<a name="ftn.id1043350" href="#id1043350">11</a>] </sup>
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>
for details about <code class="computeroutput"><span class="identifier">ref</span></code>
</p></div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>vector_tie</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="list_tie.html" title="list_tie">
@ -26,34 +26,34 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.functions.vector_tie"></a><a href="vector_tie.html" title="vector_tie">vector_tie</a></h5></div></div></div>
<a name="fusion.sequences.generation.functions.vector_tie.description"></a><h6>
<a name="id532134"></a>
<a name="id1044580"></a>
<a href="vector_tie.html#fusion.sequences.generation.functions.vector_tie.description">Description</a>
</h6>
<p>
Constructs a tie using a <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> sequence.
Constructs a tie using a <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> sequence.
</p>
<a name="fusion.sequences.generation.functions.vector_tie.synopsis"></a><h6>
<a name="id532182"></a>
<a name="id1044623"></a>
<a href="vector_tie.html#fusion.sequences.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>
<a href="../../containers/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>
<a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></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>
<span class="identifier">vector_tie</span><span class="special">(</span><span class="identifier">T0</span><span class="special">&amp;</span> <span class="identifier">x0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">&amp;</span> <span class="identifier">x1</span><span class="special">...</span> <span class="identifier">TN</span><span class="special">&amp;</span> <span class="identifier">xN</span><span class="special">);</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.functions.vector_tie.parameters"></a><h6>
<a name="id532492"></a>
<a name="id1044898"></a>
<a href="vector_tie.html#fusion.sequences.generation.functions.vector_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -68,21 +68,21 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">xN</span></code></td>
<td>Instances
of <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
of <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt>
<span class="identifier">TN</span></code>
</td>
<td>The
arguments to <tt class="computeroutput"><span class="identifier">vector_tie</span></tt>
arguments to <code class="computeroutput"><span class="identifier">vector_tie</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.functions.vector_tie.expression_semantics"></a><h6>
<a name="id532634"></a>
<a name="id1045024"></a>
<a href="vector_tie.html#fusion.sequences.generation.functions.vector_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -90,21 +90,21 @@
<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>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>&lt;T0&amp;, T1&amp;,...
<span class="bold"><strong>Return type</strong></span>: <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a>&lt;T0&amp;, T1&amp;,...
TN&amp;&gt;
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/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>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/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.sequences.generation.functions.vector_tie.header"></a><h6>
<a name="id532799"></a>
<a name="id1045168"></a>
<a href="vector_tie.html#fusion.sequences.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.functions.vector_tie.example"></a><h6>
<a name="id532905"></a>
<a name="id1045261"></a>
<a href="vector_tie.html#fusion.sequences.generation.functions.vector_tie.example">Example</a>
</h6>
<pre class="programlisting">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>MetaFunctions</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../generation.html" title="Generation">
<link rel="prev" href="functions/vector_tie.html" title="vector_tie">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>list_tie</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="make_map.html" title="make_map">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.list_tie"></a><a href="list_tie.html" title="list_tie">list_tie</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.list_tie.description"></a><h6>
<a name="id537308"></a>
<a name="id1066621"></a>
<a href="list_tie.html#fusion.sequences.generation.metafunctions.list_tie.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/list_tie.html" title="list_tie"><tt class="computeroutput"><span class="identifier">list_tie</span></tt></a>.
Returns the result type of <a href="../functions/list_tie.html" title="list_tie"><code class="computeroutput"><span class="identifier">list_tie</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.list_tie.synopsis"></a><h6>
<a name="id537357"></a>
<a name="id1066664"></a>
<a href="list_tie.html#fusion.sequences.generation.metafunctions.list_tie.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -41,18 +41,18 @@
<span class="keyword">struct</span> <span class="identifier">list_tie</span><span class="special">;</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.metafunctions.list_tie.parameters"></a><h6>
<a name="id537555"></a>
<a name="id1066840"></a>
<a href="list_tie.html#fusion.sequences.generation.metafunctions.list_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -67,17 +67,17 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<td><code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt></td>
<span class="identifier">TN</span></code></td>
<td>Any
type</td>
<td>The arguments to <tt class="computeroutput"><span class="identifier">list_tie</span></tt>
<td>The arguments to <code class="computeroutput"><span class="identifier">list_tie</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.list_tie.expression_semantics"></a><h6>
<a name="id537667"></a>
<a name="id1066939"></a>
<a href="list_tie.html#fusion.sequences.generation.metafunctions.list_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -85,21 +85,21 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">list_tie</span><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><span class="special">;</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>&lt;T0&amp;, T1&amp;,...
<span class="bold"><strong>Return type</strong></span>: <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a>&lt;T0&amp;, T1&amp;,...
TN&amp;&gt;
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> of references from <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></code>.
</p>
<a name="fusion.sequences.generation.metafunctions.list_tie.header"></a><h6>
<a name="id537852"></a>
<a name="id1067100"></a>
<a href="list_tie.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.list_tie.example"></a><h6>
<a name="id537958"></a>
<a name="id1067194"></a>
<a href="list_tie.html#fusion.sequences.generation.metafunctions.list_tie.example">Example</a>
</h6>
<pre class="programlisting">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_cons</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="make_list.html" title="make_list">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.make_cons"></a><a href="make_cons.html" title="make_cons">make_cons</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.make_cons.description"></a><h6>
<a name="id533855"></a>
<a name="id1046099"></a>
<a href="make_cons.html#fusion.sequences.generation.metafunctions.make_cons.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/make_cons.html" title="make_cons"><tt class="computeroutput"><span class="identifier">make_cons</span></tt></a>.
Returns the result type of <a href="../functions/make_cons.html" title="make_cons"><code class="computeroutput"><span class="identifier">make_cons</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_cons.synopsis"></a><h6>
<a name="id533904"></a>
<a name="id1046141"></a>
<a href="make_cons.html#fusion.sequences.generation.metafunctions.make_cons.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -41,7 +41,7 @@
<span class="keyword">struct</span> <span class="identifier">make_cons</span><span class="special">;</span>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_cons.parameters"></a><h6>
<a name="id534013"></a>
<a name="id1046238"></a>
<a href="make_cons.html#fusion.sequences.generation.metafunctions.make_cons.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -57,15 +57,15 @@
</tr></thead>
<tbody>
<tr>
<td><tt class="computeroutput"><span class="identifier">Car</span></tt></td>
<td><code class="computeroutput"><span class="identifier">Car</span></code></td>
<td>Any
type</td>
<td>The list's head type</td>
</tr>
<tr>
<td><tt class="computeroutput"><span class="identifier">Cdr</span></tt></td>
<td><code class="computeroutput"><span class="identifier">Cdr</span></code></td>
<td>A
<tt class="computeroutput"><span class="identifier">cons</span></tt>
<code class="computeroutput"><span class="identifier">cons</span></code>
</td>
<td>The
list's tail type (optional)</td>
@ -73,7 +73,7 @@
</tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.make_cons.expression_semantics"></a><h6>
<a name="id534122"></a>
<a name="id1046336"></a>
<a href="make_cons.html#fusion.sequences.generation.metafunctions.make_cons.expression_semantics">Expression
Semantics</a>
</h6>
@ -81,24 +81,24 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span><span class="special">&lt;</span><span class="identifier">Car</span><span class="special">,</span> <span class="identifier">Cdr</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A <a href="../../containers/cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a> with head element, <tt class="computeroutput"><span class="identifier">Car</span></tt>, of type converted following the
<span class="bold"><strong>Return type</strong></span>: A <a href="../../containers/cons.html" title="cons"><code class="computeroutput"><span class="identifier">cons</span></code></a> with head element, <code class="computeroutput"><span class="identifier">Car</span></code>, of type converted following the
rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
conversion</em></span></a>, and tail, <tt class="computeroutput"><span class="identifier">Cdr</span></tt>.
conversion</em></span></a>, and tail, <code class="computeroutput"><span class="identifier">Cdr</span></code>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a> from <tt class="computeroutput"><span class="identifier">Car</span></tt>
(<span class="emphasis"><em>head</em></span>) and optional <tt class="computeroutput"><span class="identifier">Cdr</span></tt>
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/cons.html" title="cons"><code class="computeroutput"><span class="identifier">cons</span></code></a> from <code class="computeroutput"><span class="identifier">Car</span></code>
(<span class="emphasis"><em>head</em></span>) and optional <code class="computeroutput"><span class="identifier">Cdr</span></code>
(<span class="emphasis"><em>tail</em></span>).
</p>
<a name="fusion.sequences.generation.metafunctions.make_cons.header"></a><h6>
<a name="id534318"></a>
<a name="id1046507"></a>
<a href="make_cons.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_cons.example"></a><h6>
<a name="id534425"></a>
<a name="id1046600"></a>
<a href="make_cons.html#fusion.sequences.generation.metafunctions.make_cons.example">Example</a>
</h6>
<pre class="programlisting">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_list</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="../metafunctions.html" title="MetaFunctions">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.make_list"></a><a href="make_list.html" title="make_list">make_list</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.make_list.description"></a><h6>
<a name="id533070"></a>
<a name="id1045407"></a>
<a href="make_list.html#fusion.sequences.generation.metafunctions.make_list.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a>.
Returns the result type of <a href="../functions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">make_list</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_list.synopsis"></a><h6>
<a name="id533118"></a>
<a name="id1045449"></a>
<a href="make_list.html#fusion.sequences.generation.metafunctions.make_list.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -41,18 +41,18 @@
<span class="keyword">struct</span> <span class="identifier">make_list</span><span class="special">;</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_LIST_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.metafunctions.make_list.parameters"></a><h6>
<a name="id533316"></a>
<a name="id1045626"></a>
<a href="make_list.html#fusion.sequences.generation.metafunctions.make_list.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -67,17 +67,17 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<td><code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt></td>
<span class="identifier">TN</span></code></td>
<td>Any
type</td>
<td>Template arguments to <tt class="computeroutput"><span class="identifier">make_list</span></tt>
<td>Template arguments to <code class="computeroutput"><span class="identifier">make_list</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.make_list.expression_semantics"></a><h6>
<a name="id533429"></a>
<a name="id1045725"></a>
<a href="make_list.html#fusion.sequences.generation.metafunctions.make_list.expression_semantics">Expression
Semantics</a>
</h6>
@ -85,22 +85,22 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span><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>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> with elements of types
<span class="bold"><strong>Return type</strong></span>: A <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> with elements of types
converted following the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
conversion</em></span></a>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> from <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> from <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></code>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_list.header"></a><h6>
<a name="id533619"></a>
<a name="id1045891"></a>
<a href="make_list.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_list.example"></a><h6>
<a name="id533726"></a>
<a name="id1045985"></a>
<a href="make_list.html#fusion.sequences.generation.metafunctions.make_list.example">Example</a>
</h6>
<pre class="programlisting">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_map</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="make_set.html" title="make_set">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.make_map"></a><a href="make_map.html" title="make_map">make_map</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.make_map.description"></a><h6>
<a name="id536150"></a>
<a name="id1048124"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.make_map.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">make_map</span></tt></a>.
Returns the result type of <a href="../functions/make_map.html" title="make_map"><code class="computeroutput"><span class="identifier">make_map</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_map.synopsis"></a><h6>
<a name="id536198"></a>
<a name="id1048166"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.make_map.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -43,19 +43,19 @@
<span class="keyword">struct</span> <span class="identifier">make_map</span><span class="special">;</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<sup>[<a name="id536382" href="#ftn.id536382">13</a>]</sup>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
<sup>[<a name="id1048328" href="#ftn.id1048328">13</a>]</sup>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.metafunctions.make_map.parameters"></a><h6>
<a name="id536480"></a>
<a name="id1048416"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.make_map.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -71,27 +71,27 @@
</tr></thead>
<tbody>
<tr>
<td><tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span>
<td><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></tt></td>
<span class="identifier">KN</span></code></td>
<td>Any
type</td>
<td>Keys associated with <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></tt>
<td>Keys associated with <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></code>
</td>
</tr>
<tr>
<td><tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<td><code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt></td>
<span class="identifier">TN</span></code></td>
<td>Any
type</td>
<td>Data associated 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>
<td>Data associated 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>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.make_map.expression_semantics"></a><h6>
<a name="id536687"></a>
<a name="id1066076"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.make_map.expression_semantics">Expression
Semantics</a>
</h6>
@ -99,44 +99,44 @@
<span class="identifier">resulf_of</span><span class="special">::</span><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">,</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><span class="special">;</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: <a href="make_map.html" title="make_map"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span></tt></a><tt class="computeroutput"><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K0</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</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></tt>
<span class="bold"><strong>Return type</strong></span>: <a href="make_map.html" title="make_map"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span></code></a><code class="computeroutput"><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K0</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</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></code>
</p>
<p>
<span class="bold"><b>Semantics</b></span>: A <a href="../../containers/map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> with <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> elements where the <tt class="computeroutput"><span class="identifier">second_type</span></tt> is converted following
<span class="bold"><strong>Semantics</strong></span>: A <a href="../../containers/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> with <a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></code></a> elements where the <code class="computeroutput"><span class="identifier">second_type</span></code> is converted following
the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
conversion</em></span></a>.
</p>
<p>
<span class="bold"><b>Precondition</b></span>: There may be no duplicate
<span class="bold"><strong>Precondition</strong></span>: There may be no duplicate
key types.
</p>
<a name="fusion.sequences.generation.metafunctions.make_map.header"></a><h6>
<a name="id537019"></a>
<a name="id1066366"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_map.example"></a><h6>
<a name="id537125"></a>
<a name="id1066459"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.make_map.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><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">,</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_map.see_also"></a><h6>
<a name="id537228"></a>
<a name="id1066550"></a>
<a href="make_map.html#fusion.sequences.generation.metafunctions.make_map.see_also">See
also</a>
</h6>
<p>
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a>
<a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></code></a>
</p>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id536382" href="#id536382">13</a>] </sup>
<tt class="computeroutput"><span class="identifier">map</span></tt> is implemented
in terms of the vector. That is why we reuse <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<div class="footnote"><p><sup>[<a name="ftn.id1048328" href="#id1048328">13</a>] </sup>
<code class="computeroutput"><span class="identifier">map</span></code> is implemented
in terms of the vector. That is why we reuse <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
</p></div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_set</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="make_vector.html" title="make_vector">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.make_set"></a><a href="make_set.html" title="make_set">make_set</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.make_set.description"></a><h6>
<a name="id535345"></a>
<a name="id1047413"></a>
<a href="make_set.html#fusion.sequences.generation.metafunctions.make_set.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/make_set.html" title="make_set"><tt class="computeroutput"><span class="identifier">make_set</span></tt></a>.
Returns the result type of <a href="../functions/make_set.html" title="make_set"><code class="computeroutput"><span class="identifier">make_set</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_set.synopsis"></a><h6>
<a name="id535394"></a>
<a name="id1047456"></a>
<a href="make_set.html#fusion.sequences.generation.metafunctions.make_set.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -41,19 +41,19 @@
<span class="keyword">struct</span> <span class="identifier">make_set</span><span class="special">;</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<sup>[<a name="id535523" href="#ftn.id535523">12</a>]</sup>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
<sup>[<a name="id1047570" href="#ftn.id1047570">12</a>]</sup>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.metafunctions.make_set.parameters"></a><h6>
<a name="id535620"></a>
<a name="id1047658"></a>
<a href="make_set.html#fusion.sequences.generation.metafunctions.make_set.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -68,17 +68,17 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<td><code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt></td>
<span class="identifier">TN</span></code></td>
<td>Any
type</td>
<td>The arguments to <tt class="computeroutput"><span class="identifier">make_set</span></tt>
<td>The arguments to <code class="computeroutput"><span class="identifier">make_set</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.make_set.expression_semantics"></a><h6>
<a name="id535732"></a>
<a name="id1047757"></a>
<a href="make_set.html#fusion.sequences.generation.metafunctions.make_set.expression_semantics">Expression
Semantics</a>
</h6>
@ -86,26 +86,26 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_set</span><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>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A <a href="../../containers/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a> with elements of types converted
<span class="bold"><strong>Return type</strong></span>: A <a href="../../containers/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> with elements of types converted
following the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
conversion</em></span></a>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a> from <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> from <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></code>.
</p>
<p>
<span class="bold"><b>Precondition</b></span>: There may be no duplicate
<span class="bold"><strong>Precondition</strong></span>: There may be no duplicate
key types.
</p>
<a name="fusion.sequences.generation.metafunctions.make_set.header"></a><h6>
<a name="id535930"></a>
<a name="id1047931"></a>
<a href="make_set.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_set.example"></a><h6>
<a name="id536036"></a>
<a name="id1048024"></a>
<a href="make_set.html#fusion.sequences.generation.metafunctions.make_set.example">Example</a>
</h6>
<pre class="programlisting">
@ -113,9 +113,9 @@
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id535523" href="#id535523">12</a>] </sup>
<tt class="computeroutput"><span class="identifier">set</span></tt> is implemented
in terms of the vector. That is why we reuse <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
<div class="footnote"><p><sup>[<a name="ftn.id1047570" href="#id1047570">12</a>] </sup>
<code class="computeroutput"><span class="identifier">set</span></code> is implemented
in terms of the vector. That is why we reuse <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
</p></div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>make_vector</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="make_cons.html" title="make_cons">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.make_vector"></a><a href="make_vector.html" title="make_vector">make_vector</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.make_vector.description"></a><h6>
<a name="id534560"></a>
<a name="id1046720"></a>
<a href="make_vector.html#fusion.sequences.generation.metafunctions.make_vector.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a>.
Returns the result type of <a href="../functions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_vector.synopsis"></a><h6>
<a name="id534609"></a>
<a name="id1046762"></a>
<a href="make_vector.html#fusion.sequences.generation.metafunctions.make_vector.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -41,18 +41,18 @@
<span class="keyword">struct</span> <span class="identifier">make_vector</span><span class="special">;</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.metafunctions.make_vector.parameters"></a><h6>
<a name="id534808"></a>
<a name="id1046941"></a>
<a href="make_vector.html#fusion.sequences.generation.metafunctions.make_vector.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -67,17 +67,17 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<td><code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt></td>
<span class="identifier">TN</span></code></td>
<td>Any
type</td>
<td>Template arguments to <tt class="computeroutput"><span class="identifier">make_vector</span></tt>
<td>Template arguments to <code class="computeroutput"><span class="identifier">make_vector</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.make_vector.expression_semantics"></a><h6>
<a name="id534920"></a>
<a name="id1047040"></a>
<a href="make_vector.html#fusion.sequences.generation.metafunctions.make_vector.expression_semantics">Expression
Semantics</a>
</h6>
@ -85,22 +85,22 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_vector</span><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>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> with elements of types
<span class="bold"><strong>Return type</strong></span>: A <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> with elements of types
converted following the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
conversion</em></span></a>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> from <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> from <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></code>.
</p>
<a name="fusion.sequences.generation.metafunctions.make_vector.header"></a><h6>
<a name="id535109"></a>
<a name="id1047206"></a>
<a href="make_vector.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.make_vector.example"></a><h6>
<a name="id535216"></a>
<a name="id1047299"></a>
<a href="make_vector.html#fusion.sequences.generation.metafunctions.make_vector.example">Example</a>
</h6>
<pre class="programlisting">

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>vector_tie</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
<link rel="prev" href="list_tie.html" title="list_tie">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.generation.metafunctions.vector_tie"></a><a href="vector_tie.html" title="vector_tie">vector_tie</a></h5></div></div></div>
<a name="fusion.sequences.generation.metafunctions.vector_tie.description"></a><h6>
<a name="id538063"></a>
<a name="id1067288"></a>
<a href="vector_tie.html#fusion.sequences.generation.metafunctions.vector_tie.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a>.
Returns the result type of <a href="../functions/vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a>.
</p>
<a name="fusion.sequences.generation.metafunctions.vector_tie.synopsis"></a><h6>
<a name="id538112"></a>
<a name="id1067330"></a>
<a href="vector_tie.html#fusion.sequences.generation.metafunctions.vector_tie.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -41,18 +41,18 @@
<span class="keyword">struct</span> <span class="identifier">vector_tie</span><span class="special">;</span>
</pre>
<p>
The variadic function accepts <tt class="computeroutput"><span class="number">0</span></tt>
to <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
is a user definable predefined maximum that defaults to <tt class="computeroutput"><span class="number">10</span></tt>. You may define the preprocessor constant
<tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
is a user definable predefined maximum that defaults to <code class="computeroutput"><span class="number">10</span></code>. You may define the preprocessor constant
<code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>
before including any Fusion header to change the default. Example:
</p>
<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.sequences.generation.metafunctions.vector_tie.parameters"></a><h6>
<a name="id538309"></a>
<a name="id1067506"></a>
<a href="vector_tie.html#fusion.sequences.generation.metafunctions.vector_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@ -67,17 +67,17 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<td><code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<span class="identifier">T1</span><span class="special">,...</span>
<span class="identifier">TN</span></tt></td>
<span class="identifier">TN</span></code></td>
<td>Any
type</td>
<td>The arguments to <tt class="computeroutput"><span class="identifier">vector_tie</span></tt>
<td>The arguments to <code class="computeroutput"><span class="identifier">vector_tie</span></code>
</td>
</tr></tbody>
</table></div>
<a name="fusion.sequences.generation.metafunctions.vector_tie.expression_semantics"></a><h6>
<a name="id538422"></a>
<a name="id1067605"></a>
<a href="vector_tie.html#fusion.sequences.generation.metafunctions.vector_tie.expression_semantics">Expression
Semantics</a>
</h6>
@ -85,21 +85,21 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">vector_tie</span><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><span class="special">;</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>&lt;T0&amp;, T1&amp;,...
<span class="bold"><strong>Return type</strong></span>: <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a>&lt;T0&amp;, T1&amp;,...
TN&amp;&gt;
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Create a <a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> of references from <code class="computeroutput"><span class="identifier">T0</span><span class="special">,</span> <span class="identifier">T1</span><span class="special">,...</span> <span class="identifier">TN</span></code>.
</p>
<a name="fusion.sequences.generation.metafunctions.vector_tie.header"></a><h6>
<a name="id538607"></a>
<a name="id1067767"></a>
<a href="vector_tie.html#fusion.sequences.generation.metafunctions.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">sequence</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>
</pre>
<a name="fusion.sequences.generation.metafunctions.vector_tie.example"></a><h6>
<a name="id538713"></a>
<a name="id1067860"></a>
<a href="vector_tie.html#fusion.sequences.generation.metafunctions.vector_tie.example">Example</a>
</h6>
<pre class="programlisting">