Rebuild a lot of documentation.

[SVN r43650]
This commit is contained in:
Daniel James
2008-03-16 11:38:32 +00:00
parent 9e8d8b1871
commit 813930aee6
257 changed files with 8717 additions and 9036 deletions

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="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,36 +24,37 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.list_tie"></a><a href="list_tie.html" title="list_tie">list_tie</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.list_tie"></a><a class="link" href="list_tie.html" title="list_tie">list_tie</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.list_tie.description"></a><h6>
<a name="id553618"></a>
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.description">Description</a>
<a name="id2722206"></a>
<a class="link" href="list_tie.html#fusion.container.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 class="link" href="../functions/list_tie.html" title="list_tie"><code class="computeroutput"><span class="identifier">list_tie</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.list_tie.synopsis"></a><h6>
<a name="id553668"></a>
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.synopsis">Synopsis</a>
<a name="id2722249"></a>
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.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>
<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.container.generation.metafunctions.list_tie.parameters"></a><h6>
<a name="id553876"></a>
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.parameters">Parameters</a>
<a name="id2722439"></a>
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -81,9 +82,9 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<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>
</p>
</td>
<td>
@ -93,37 +94,37 @@
</td>
<td>
<p>
The arguments to <tt class="computeroutput"><span class="identifier">list_tie</span></tt>
The arguments to <code class="computeroutput"><span class="identifier">list_tie</span></code>
</p>
</td>
</tr></tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.list_tie.expression_semantics"></a><h6>
<a name="id554019"></a>
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.expression_semantics">Expression
<a name="id2722565"></a>
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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="../../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 class="link" href="../../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="../../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 class="link" href="../../list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> of references from <code class="computeroutput"><span class="identifier">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.container.generation.metafunctions.list_tie.header"></a><h6>
<a name="id554208"></a>
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.header">Header</a>
<a name="id2722734"></a>
<a class="link" href="list_tie.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">list_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.list_tie.example"></a><h6>
<a name="id554378"></a>
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.example">Example</a>
<a name="id2722886"></a>
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">list_tie</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">type</span>

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="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,25 +24,26 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.make_cons"></a><a href="make_cons.html" title="make_cons">make_cons</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_cons"></a><a class="link" href="make_cons.html" title="make_cons">make_cons</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_cons.description"></a><h6>
<a name="id549673"></a>
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.description">Description</a>
<a name="id2718683"></a>
<a class="link" href="make_cons.html#fusion.container.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 class="link" href="../functions/make_cons.html" title="make_cons"><code class="computeroutput"><span class="identifier">make_cons</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.make_cons.synopsis"></a><h6>
<a name="id549723"></a>
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.synopsis">Synopsis</a>
<a name="id2718727"></a>
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.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">,</span> <span class="keyword">typename</span> <span class="identifier">Cdr</span> <span class="special">=</span> <span class="identifier">nil</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">make_cons</span><span class="special">;</span>
</pre>
<a name="fusion.container.generation.metafunctions.make_cons.parameters"></a><h6>
<a name="id549834"></a>
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.parameters">Parameters</a>
<a name="id2718826"></a>
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -71,7 +72,7 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Car</span></tt>
<code class="computeroutput"><span class="identifier">Car</span></code>
</p>
</td>
<td>
@ -88,12 +89,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Cdr</span></tt>
<code class="computeroutput"><span class="identifier">Cdr</span></code>
</p>
</td>
<td>
<p>
A <tt class="computeroutput"><span class="identifier">cons</span></tt>
A <code class="computeroutput"><span class="identifier">cons</span></code>
</p>
</td>
<td>
@ -105,34 +106,34 @@
</tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.make_cons.expression_semantics"></a><h6>
<a name="id549989"></a>
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.expression_semantics">Expression
<a name="id2718963"></a>
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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="../../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
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>.
<span class="bold"><strong>Return type</strong></span>: A <a class="link" href="../../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 class="link" href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
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="../../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 class="link" href="../../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.container.generation.metafunctions.make_cons.header"></a><h6>
<a name="id550194"></a>
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.header">Header</a>
<a name="id2719147"></a>
<a class="link" href="make_cons.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.make_cons.example"></a><h6>
<a name="id550364"></a>
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.example">Example</a>
<a name="id2719299"></a>
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">type</span>

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="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,36 +24,37 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.make_list"></a><a href="make_list.html" title="make_list">make_list</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_list"></a><a class="link" href="make_list.html" title="make_list">make_list</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_list.description"></a><h6>
<a name="id548775"></a>
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.description">Description</a>
<a name="id2717882"></a>
<a class="link" href="make_list.html#fusion.container.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 class="link" href="../functions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">make_list</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.make_list.synopsis"></a><h6>
<a name="id548825"></a>
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.synopsis">Synopsis</a>
<a name="id2717925"></a>
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.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">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.container.generation.metafunctions.make_list.parameters"></a><h6>
<a name="id549032"></a>
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.parameters">Parameters</a>
<a name="id2718114"></a>
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -81,9 +82,9 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<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>
</p>
</td>
<td>
@ -93,38 +94,38 @@
</td>
<td>
<p>
Template arguments to <tt class="computeroutput"><span class="identifier">make_list</span></tt>
Template arguments to <code class="computeroutput"><span class="identifier">make_list</span></code>
</p>
</td>
</tr></tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.make_list.expression_semantics"></a><h6>
<a name="id549176"></a>
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.expression_semantics">Expression
<a name="id2718241"></a>
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> with elements of types
converted following the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
<span class="bold"><strong>Return type</strong></span>: A <a class="link" href="../../list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> with elements of types
converted following the rules for <a class="link" 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="../../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 class="link" href="../../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.container.generation.metafunctions.make_list.header"></a><h6>
<a name="id549371"></a>
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.header">Header</a>
<a name="id2718415"></a>
<a class="link" href="make_list.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.make_list.example"></a><h6>
<a name="id549542"></a>
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.example">Example</a>
<a name="id2718568"></a>
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&amp;)[</span><span class="number">7</span><span class="special">],</span> <span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">type</span>

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="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,17 +24,18 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.make_map"></a><a href="make_map.html" title="make_map">make_map</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_map"></a><a class="link" href="make_map.html" title="make_map">make_map</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_map.description"></a><h6>
<a name="id552320"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.description">Description</a>
<a name="id2721045"></a>
<a class="link" href="make_map.html#fusion.container.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 class="link" href="../functions/make_map.html" title="make_map"><code class="computeroutput"><span class="identifier">make_map</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.make_map.synopsis"></a><h6>
<a name="id552370"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.synopsis">Synopsis</a>
<a name="id2721089"></a>
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span>
@ -43,20 +44,20 @@
<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="id552558" href="#ftn.id552558">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="id2721258" href="#ftn.id2721258" class="footnote">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.container.generation.metafunctions.make_map.parameters"></a><h6>
<a name="id552665"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.parameters">Parameters</a>
<a name="id2721357"></a>
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -85,9 +86,9 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span>
<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>
<span class="identifier">KN</span></code>
</p>
</td>
<td>
@ -97,16 +98,16 @@
</td>
<td>
<p>
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>
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>
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<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>
</p>
</td>
<td>
@ -116,60 +117,60 @@
</td>
<td>
<p>
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>
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>
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.make_map.expression_semantics"></a><h6>
<a name="id552922"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.expression_semantics">Expression
<a name="id2721585"></a>
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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 class="link" 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="../../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
the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
<span class="bold"><strong>Semantics</strong></span>: A <a class="link" href="../../map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> with <a class="link" 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 class="link" 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.container.generation.metafunctions.make_map.header"></a><h6>
<a name="id553261"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.header">Header</a>
<a name="id2721890"></a>
<a class="link" href="make_map.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.make_map.example"></a><h6>
<a name="id553432"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.example">Example</a>
<a name="id2722042"></a>
<a class="link" href="make_map.html#fusion.container.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.container.generation.metafunctions.make_map.see_also"></a><h6>
<a name="id553537"></a>
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.see_also">See
<a name="id2722135"></a>
<a class="link" href="make_map.html#fusion.container.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 class="link" 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.id552558" href="#id552558">12</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.id2721258" href="#id2721258" class="para">12</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="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,37 +24,38 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.make_set"></a><a href="make_set.html" title="make_set">make_set</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_set"></a><a class="link" href="make_set.html" title="make_set">make_set</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_set.description"></a><h6>
<a name="id551398"></a>
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.description">Description</a>
<a name="id2720221"></a>
<a class="link" href="make_set.html#fusion.container.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 class="link" href="../functions/make_set.html" title="make_set"><code class="computeroutput"><span class="identifier">make_set</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.make_set.synopsis"></a><h6>
<a name="id551448"></a>
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.synopsis">Synopsis</a>
<a name="id2720264"></a>
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.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">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="id551582" href="#ftn.id551582">11</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="id2720384" href="#ftn.id2720384" class="footnote">11</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.container.generation.metafunctions.make_set.parameters"></a><h6>
<a name="id551687"></a>
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.parameters">Parameters</a>
<a name="id2720482"></a>
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -82,9 +83,9 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<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>
</p>
</td>
<td>
@ -94,51 +95,51 @@
</td>
<td>
<p>
The arguments to <tt class="computeroutput"><span class="identifier">make_set</span></tt>
The arguments to <code class="computeroutput"><span class="identifier">make_set</span></code>
</p>
</td>
</tr></tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.make_set.expression_semantics"></a><h6>
<a name="id551830"></a>
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.expression_semantics">Expression
<a name="id2720608"></a>
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a> with elements of types converted
following the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
<span class="bold"><strong>Return type</strong></span>: A <a class="link" href="../../set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> with elements of types converted
following the rules for <a class="link" 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="../../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 class="link" href="../../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.container.generation.metafunctions.make_set.header"></a><h6>
<a name="id552034"></a>
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.header">Header</a>
<a name="id2720791"></a>
<a class="link" href="make_set.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.make_set.example"></a><h6>
<a name="id552205"></a>
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.example">Example</a>
<a name="id2720944"></a>
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_set</span><span class="special">&lt;</span><span class="keyword">int</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>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id551582" href="#id551582">11</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.id2720384" href="#id2720384" class="para">11</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="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,36 +24,37 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.make_vector"></a><a href="make_vector.html" title="make_vector">make_vector</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_vector"></a><a class="link" href="make_vector.html" title="make_vector">make_vector</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.make_vector.description"></a><h6>
<a name="id550501"></a>
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.description">Description</a>
<a name="id2719419"></a>
<a class="link" href="make_vector.html#fusion.container.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 class="link" href="../functions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.make_vector.synopsis"></a><h6>
<a name="id550551"></a>
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.synopsis">Synopsis</a>
<a name="id2719462"></a>
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.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">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.container.generation.metafunctions.make_vector.parameters"></a><h6>
<a name="id550760"></a>
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.parameters">Parameters</a>
<a name="id2719652"></a>
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -81,9 +82,9 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<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>
</p>
</td>
<td>
@ -93,38 +94,38 @@
</td>
<td>
<p>
Template arguments to <tt class="computeroutput"><span class="identifier">make_vector</span></tt>
Template arguments to <code class="computeroutput"><span class="identifier">make_vector</span></code>
</p>
</td>
</tr></tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.make_vector.expression_semantics"></a><h6>
<a name="id550903"></a>
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.expression_semantics">Expression
<a name="id2719778"></a>
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> with elements of types
converted following the rules for <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
<span class="bold"><strong>Return type</strong></span>: A <a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> with elements of types
converted following the rules for <a class="link" 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="../../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 class="link" href="../../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.container.generation.metafunctions.make_vector.header"></a><h6>
<a name="id551096"></a>
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.header">Header</a>
<a name="id2719952"></a>
<a class="link" href="make_vector.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.make_vector.example"></a><h6>
<a name="id551267"></a>
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.example">Example</a>
<a name="id2720106"></a>
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_vector</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&amp;)[</span><span class="number">7</span><span class="special">],</span> <span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">type</span>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>map_tie</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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="vector_tie.html" title="vector_tie">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,36 +24,37 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.map_tie"></a><a href="map_tie.html" title="map_tie">map_tie</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.map_tie"></a><a class="link" href="map_tie.html" title="map_tie">map_tie</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.map_tie.description"></a><h6>
<a name="id555353"></a>
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.description">Description</a>
<a name="id2723752"></a>
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_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">map_tie</span></tt></a>.
Returns the result type of <a class="link" href="../functions/vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">map_tie</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.map_tie.synopsis"></a><h6>
<a name="id555403"></a>
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.synopsis">Synopsis</a>
<a name="id2723795"></a>
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">K0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">KN</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">D1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">DN</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">map_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_MAP_SIZE</span></tt>
elements, where <tt class="computeroutput"><span class="identifier">FUSION_MAX_MAP_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_MAP_SIZE</span></tt> before
The variadic function accepts <code class="computeroutput"><span class="number">0</span></code>
to <code class="computeroutput"><span class="identifier">FUSION_MAX_MAP_SIZE</span></code>
elements, where <code class="computeroutput"><span class="identifier">FUSION_MAX_MAP_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_MAP_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_MAP_SIZE</span> <span class="number">20</span>
</pre>
<a name="fusion.container.generation.metafunctions.map_tie.parameters"></a><h6>
<a name="id555665"></a>
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.parameters">Parameters</a>
<a name="id2724032"></a>
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -82,9 +83,9 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span>
<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>
<span class="identifier">KN</span></code>
</p>
</td>
<td>
@ -94,16 +95,16 @@
</td>
<td>
<p>
The key types for <tt class="computeroutput"><span class="identifier">map_tie</span></tt>
The key types for <code class="computeroutput"><span class="identifier">map_tie</span></code>
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">D0</span><span class="special">,</span>
<code class="computeroutput"><span class="identifier">D0</span><span class="special">,</span>
<span class="identifier">D1</span><span class="special">,...</span>
<span class="identifier">DN</span></tt>
<span class="identifier">DN</span></code>
</p>
</td>
<td>
@ -113,39 +114,39 @@
</td>
<td>
<p>
The arguments types for <tt class="computeroutput"><span class="identifier">map_tie</span></tt>
The arguments types for <code class="computeroutput"><span class="identifier">map_tie</span></code>
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.map_tie.expression_semantics"></a><h6>
<a name="id555877"></a>
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.expression_semantics">Expression
<a name="id2724219"></a>
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">map_tie</span><span class="special">&lt;</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span><span class="special">,</span> <span class="identifier">D0</span><span class="special">,</span> <span class="identifier">D1</span><span class="special">,...</span> <span class="identifier">DN</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="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>&lt;<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a>&lt;K0, D0&amp;&gt;, <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a>&lt;K1,
D1&amp;&gt;,... <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a>&lt;KN,
<span class="bold"><strong>Return type</strong></span>: <a class="link" href="../../map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a>&lt;<a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a>&lt;K0, D0&amp;&gt;, <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a>&lt;K1,
D1&amp;&gt;,... <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a>&lt;KN,
DN&amp;&gt; &gt;
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">D0</span><span class="special">,</span> <span class="identifier">D1</span><span class="special">,...</span> <span class="identifier">DN</span></tt> with keys <tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span></tt>
<span class="bold"><strong>Semantics</strong></span>: Create a <a class="link" href="../../map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> of references from <code class="computeroutput"><span class="identifier">D0</span><span class="special">,</span> <span class="identifier">D1</span><span class="special">,...</span> <span class="identifier">DN</span></code> with keys <code class="computeroutput"><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span></code>
</p>
<a name="fusion.container.generation.metafunctions.map_tie.header"></a><h6>
<a name="id556182"></a>
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.header">Header</a>
<a name="id2724493"></a>
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.header">Header</a>
</h6>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">map_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">map_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.map_tie.example"></a><h6>
<a name="id556353"></a>
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.example">Example</a>
<a name="id2724646"></a>
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.example">Example</a>
</h6>
<pre class="programlisting">
<span class="keyword">struct</span> <span class="identifier">int_key</span><span class="special">;</span>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>vector_tie</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<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">
@ -12,10 +12,10 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://www.boost.org/people/people.htm">People</a></td>
<td align="center"><a href="http://www.boost.org/more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@ -24,36 +24,37 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.container.generation.metafunctions.vector_tie"></a><a href="vector_tie.html" title="vector_tie">vector_tie</a></h5></div></div></div>
<a name="fusion.container.generation.metafunctions.vector_tie"></a><a class="link" href="vector_tie.html" title="vector_tie">vector_tie</a>
</h5></div></div></div>
<a name="fusion.container.generation.metafunctions.vector_tie.description"></a><h6>
<a name="id554485"></a>
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.description">Description</a>
<a name="id2722978"></a>
<a class="link" href="vector_tie.html#fusion.container.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 class="link" href="../functions/vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a>.
</p>
<a name="fusion.container.generation.metafunctions.vector_tie.synopsis"></a><h6>
<a name="id554535"></a>
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.synopsis">Synopsis</a>
<a name="id2723022"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.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>
<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.container.generation.metafunctions.vector_tie.parameters"></a><h6>
<a name="id554743"></a>
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.parameters">Parameters</a>
<a name="id2723211"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@ -81,9 +82,9 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">T0</span><span class="special">,</span>
<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>
</p>
</td>
<td>
@ -93,37 +94,37 @@
</td>
<td>
<p>
The arguments to <tt class="computeroutput"><span class="identifier">vector_tie</span></tt>
The arguments to <code class="computeroutput"><span class="identifier">vector_tie</span></code>
</p>
</td>
</tr></tbody>
</table></div>
<a name="fusion.container.generation.metafunctions.vector_tie.expression_semantics"></a><h6>
<a name="id554886"></a>
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.expression_semantics">Expression
<a name="id2723337"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.expression_semantics">Expression
Semantics</a>
</h6>
<pre class="programlisting">
<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="../../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 class="link" href="../../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="../../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 class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> of references from <code class="computeroutput"><span class="identifier">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.container.generation.metafunctions.vector_tie.header"></a><h6>
<a name="id555076"></a>
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.header">Header</a>
<a name="id2723507"></a>
<a class="link" href="vector_tie.html#fusion.container.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">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">vector_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">vector_tie</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.container.generation.metafunctions.vector_tie.example"></a><h6>
<a name="id555247"></a>
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.example">Example</a>
<a name="id2723660"></a>
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">vector_tie</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">&gt;::</span><span class="identifier">type</span>