forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>cons</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="vector.html" title="vector">
|
||||
@ -22,6 +26,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="vector.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="list.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
@ -33,6 +38,16 @@
|
||||
<a name="id481484"></a>
|
||||
<a href="cons.html#fusion.container.cons.description">Description</a>
|
||||
</h4>
|
||||
=======
|
||||
<div class="section" title="cons">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.container.cons"></a><a class="link" href="cons.html" title="cons">cons</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.container.cons.description"></a><h5>
|
||||
<a name="id687663"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.description">Description</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
<tt class="computeroutput"><span class="identifier">cons</span></tt> is a simple <a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
@ -45,24 +60,45 @@
|
||||
each element is peculiarly constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive
|
||||
Inlined Functions</a>).
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.cons.header"></a><h4>
|
||||
<a name="id481626"></a>
|
||||
<a href="cons.html#fusion.container.cons.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.cons.header"></a><h5>
|
||||
<a name="id687744"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">cons</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.cons.synopsis"></a><h4>
|
||||
<a name="id481791"></a>
|
||||
<a href="cons.html#fusion.container.cons.synopsis">Synopsis</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.cons.synopsis"></a><h5>
|
||||
<a name="id687860"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">cons</span><span class="special">;</span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.cons.template_parameters"></a><h4>
|
||||
<a name="id481898"></a>
|
||||
<a href="cons.html#fusion.container.cons.template_parameters">Template parameters</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.cons.template_parameters"></a><h5>
|
||||
<a name="id687934"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -104,6 +140,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.cons.model_of"></a><h4>
|
||||
<a name="id482046"></a>
|
||||
<a href="cons.html#fusion.container.cons.model_of">Model of</a>
|
||||
@ -111,6 +148,14 @@
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li></ul></div>
|
||||
<div class="variablelist">
|
||||
=======
|
||||
<a name="fusion.container.cons.model_of"></a><h5>
|
||||
<a name="id688054"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a></li></ul></div>
|
||||
<div class="variablelist" title="Notation">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">nil</span></tt></span></dt>
|
||||
@ -146,10 +191,17 @@
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.cons.expression_semantics"></a><h4>
|
||||
<a name="id482328"></a>
|
||||
<a href="cons.html#fusion.container.cons.expression_semantics">Expression Semantics</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.cons.expression_semantics"></a><h5>
|
||||
<a name="id688258"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Semantics of an expression is defined only where it differs from, or is not
|
||||
defined in <a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
@ -248,11 +300,20 @@
|
||||
Access Sequence">Random
|
||||
Access Sequence</a> requirement). The runtime complexity of <a href="../sequence/intrinsic/functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a> is constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive
|
||||
Inlined Functions</a>).
|
||||
<<<<<<< .working
|
||||
</p></div>
|
||||
<a name="fusion.container.cons.example"></a><h4>
|
||||
<a name="id482977"></a>
|
||||
<a href="cons.html#fusion.container.cons.example">Example</a>
|
||||
</h4>
|
||||
=======
|
||||
</p>
|
||||
</div>
|
||||
<a name="fusion.container.cons.example"></a><h5>
|
||||
<a name="id688721"></a>
|
||||
<a class="link" href="cons.html#fusion.container.cons.example">Example</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="identifier">cons</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">cons</span><span class="special"><</span><span class="keyword">float</span><span class="special">></span> <span class="special">></span> <span class="identifier">l</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="identifier">cons</span><span class="special"><</span><span class="keyword">float</span><span class="special">>(</span><span class="number">5.5f</span><span class="special">));</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">l</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">l</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Conversion</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="generation/metafunctions/map_tie.html" title="map_tie">
|
||||
@ -37,10 +41,17 @@
|
||||
All fusion sequences can be converted to one of the <a href="../container.html" title="Container">Container</a>
|
||||
types using one of these conversion functions.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.conversion.header"></a><h4>
|
||||
<a name="id511157"></a>
|
||||
<a href="conversion.html#fusion.container.conversion.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.conversion.header"></a><h5>
|
||||
<a name="id717528"></a>
|
||||
<a class="link" href="conversion.html#fusion.container.conversion.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
</div>
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Functions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../conversion.html" title="Conversion">
|
||||
<link rel="previous" href="../conversion.html" title="Conversion">
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_list</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="../functions.html" title="Functions">
|
||||
<link rel="next" href="as_vector.html" title="as_vector">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.functions.as_list.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id511286"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a>
|
||||
=======
|
||||
<a name="id762982"></a>
|
||||
=======
|
||||
<a name="id725258"></a>
|
||||
=======
|
||||
<a name="id717612"></a>
|
||||
=======
|
||||
<a name="id739995"></a>
|
||||
=======
|
||||
<a name="id728662"></a>
|
||||
=======
|
||||
<a name="id725385"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Convert a fusion sequence to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_list.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id511333"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.functions.as_list.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id763010"></a>
|
||||
=======
|
||||
<a name="id725287"></a>
|
||||
=======
|
||||
<a name="id717641"></a>
|
||||
=======
|
||||
<a name="id740024"></a>
|
||||
=======
|
||||
<a name="id728690"></a>
|
||||
=======
|
||||
<a name="id725414"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -49,8 +107,33 @@
|
||||
<span class="identifier">as_list</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_list.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id511589"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.functions.as_list.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id763193"></a>
|
||||
=======
|
||||
<a name="id725470"></a>
|
||||
=======
|
||||
<a name="id717824"></a>
|
||||
=======
|
||||
<a name="id740207"></a>
|
||||
=======
|
||||
<a name="id728873"></a>
|
||||
=======
|
||||
<a name="id725596"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -82,8 +165,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.functions.as_list.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id511694"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id763279"></a>
|
||||
=======
|
||||
<a name="id725556"></a>
|
||||
=======
|
||||
<a name="id717910"></a>
|
||||
=======
|
||||
<a name="id740293"></a>
|
||||
=======
|
||||
<a name="id728959"></a>
|
||||
=======
|
||||
<a name="id725682"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
|
||||
@ -96,22 +204,72 @@
|
||||
<tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_list.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id511852"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.functions.as_list.header">Header</a>
|
||||
=======
|
||||
<a name="id763379"></a>
|
||||
=======
|
||||
<a name="id725656"></a>
|
||||
=======
|
||||
<a name="id718010"></a>
|
||||
=======
|
||||
<a name="id740393"></a>
|
||||
=======
|
||||
<a name="id729059"></a>
|
||||
=======
|
||||
<a name="id725782"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_list.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512018"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a>
|
||||
=======
|
||||
<a name="id763494"></a>
|
||||
=======
|
||||
<a name="id725771"></a>
|
||||
=======
|
||||
<a name="id718125"></a>
|
||||
=======
|
||||
<a name="id740508"></a>
|
||||
=======
|
||||
<a name="id729174"></a>
|
||||
=======
|
||||
<a name="id725897"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.functions.as_list.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_list</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_map</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="as_set.html" title="as_set">
|
||||
<link rel="next" href="../metafunctions.html" title="Metafunctions">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.functions.as_map.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513836"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
|
||||
=======
|
||||
<a name="id764820"></a>
|
||||
=======
|
||||
<a name="id727097"></a>
|
||||
=======
|
||||
<a name="id719451"></a>
|
||||
=======
|
||||
<a name="id742858"></a>
|
||||
=======
|
||||
<a name="id730500"></a>
|
||||
=======
|
||||
<a name="id727224"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Convert a fusion sequence to a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_map.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513883"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id764849"></a>
|
||||
=======
|
||||
<a name="id727126"></a>
|
||||
=======
|
||||
<a name="id719480"></a>
|
||||
=======
|
||||
<a name="id742887"></a>
|
||||
=======
|
||||
<a name="id730529"></a>
|
||||
=======
|
||||
<a name="id727252"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -49,8 +107,33 @@
|
||||
<span class="identifier">as_map</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_map.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514138"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id765029"></a>
|
||||
=======
|
||||
<a name="id727306"></a>
|
||||
=======
|
||||
<a name="id719660"></a>
|
||||
=======
|
||||
<a name="id743067"></a>
|
||||
=======
|
||||
<a name="id730709"></a>
|
||||
=======
|
||||
<a name="id727432"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -82,8 +165,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.functions.as_map.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514243"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id765113"></a>
|
||||
=======
|
||||
<a name="id727390"></a>
|
||||
=======
|
||||
<a name="id719744"></a>
|
||||
=======
|
||||
<a name="id743151"></a>
|
||||
=======
|
||||
<a name="id730793"></a>
|
||||
=======
|
||||
<a name="id727516"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
|
||||
@ -101,15 +209,65 @@
|
||||
There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_map.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514447"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
|
||||
=======
|
||||
<a name="id765243"></a>
|
||||
=======
|
||||
<a name="id727520"></a>
|
||||
=======
|
||||
<a name="id719874"></a>
|
||||
=======
|
||||
<a name="id743281"></a>
|
||||
=======
|
||||
<a name="id730923"></a>
|
||||
=======
|
||||
<a name="id727646"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_map.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514613"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
|
||||
=======
|
||||
<a name="id765358"></a>
|
||||
=======
|
||||
<a name="id727635"></a>
|
||||
=======
|
||||
<a name="id719989"></a>
|
||||
=======
|
||||
<a name="id743396"></a>
|
||||
=======
|
||||
<a name="id731038"></a>
|
||||
=======
|
||||
<a name="id727761"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span>
|
||||
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="char">'X'</span><span class="special">)</span>
|
||||
@ -118,7 +276,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_set</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="as_vector.html" title="as_vector">
|
||||
<link rel="next" href="as_map.html" title="as_map">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.functions.as_set.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512981"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a>
|
||||
=======
|
||||
<a name="id764160"></a>
|
||||
=======
|
||||
<a name="id726506"></a>
|
||||
=======
|
||||
<a name="id718860"></a>
|
||||
=======
|
||||
<a name="id742267"></a>
|
||||
=======
|
||||
<a name="id729909"></a>
|
||||
=======
|
||||
<a name="id726632"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Convert a fusion sequence to a <a href="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_set.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513027"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.functions.as_set.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id764189"></a>
|
||||
=======
|
||||
<a name="id726534"></a>
|
||||
=======
|
||||
<a name="id718888"></a>
|
||||
=======
|
||||
<a name="id742295"></a>
|
||||
=======
|
||||
<a name="id729938"></a>
|
||||
=======
|
||||
<a name="id726661"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -49,8 +107,33 @@
|
||||
<span class="identifier">as_set</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_set.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513282"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id764438"></a>
|
||||
=======
|
||||
<a name="id726714"></a>
|
||||
=======
|
||||
<a name="id719068"></a>
|
||||
=======
|
||||
<a name="id742475"></a>
|
||||
=======
|
||||
<a name="id730118"></a>
|
||||
=======
|
||||
<a name="id726841"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -82,8 +165,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.functions.as_set.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513387"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id764522"></a>
|
||||
=======
|
||||
<a name="id726798"></a>
|
||||
=======
|
||||
<a name="id719152"></a>
|
||||
=======
|
||||
<a name="id742559"></a>
|
||||
=======
|
||||
<a name="id730202"></a>
|
||||
=======
|
||||
<a name="id726925"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
|
||||
@ -100,22 +208,72 @@
|
||||
key types.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_set.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513556"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.functions.as_set.header">Header</a>
|
||||
=======
|
||||
<a name="id764631"></a>
|
||||
=======
|
||||
<a name="id726908"></a>
|
||||
=======
|
||||
<a name="id719262"></a>
|
||||
=======
|
||||
<a name="id742669"></a>
|
||||
=======
|
||||
<a name="id730311"></a>
|
||||
=======
|
||||
<a name="id727034"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_set.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513722"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a>
|
||||
=======
|
||||
<a name="id764746"></a>
|
||||
=======
|
||||
<a name="id727023"></a>
|
||||
=======
|
||||
<a name="id719377"></a>
|
||||
=======
|
||||
<a name="id742784"></a>
|
||||
=======
|
||||
<a name="id730426"></a>
|
||||
=======
|
||||
<a name="id727149"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.functions.as_set.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_set</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_vector</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="as_list.html" title="as_list">
|
||||
<link rel="next" href="as_set.html" title="as_set">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.functions.as_vector.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512133"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a>
|
||||
=======
|
||||
<a name="id763568"></a>
|
||||
=======
|
||||
<a name="id725845"></a>
|
||||
=======
|
||||
<a name="id718199"></a>
|
||||
=======
|
||||
<a name="id740582"></a>
|
||||
=======
|
||||
<a name="id729248"></a>
|
||||
=======
|
||||
<a name="id725972"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Convert a fusion sequence to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_vector.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512180"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id763600"></a>
|
||||
=======
|
||||
<a name="id725876"></a>
|
||||
=======
|
||||
<a name="id718230"></a>
|
||||
=======
|
||||
<a name="id740613"></a>
|
||||
=======
|
||||
<a name="id729280"></a>
|
||||
=======
|
||||
<a name="id726003"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -49,8 +107,33 @@
|
||||
<span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_vector.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512435"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id763784"></a>
|
||||
=======
|
||||
<a name="id726061"></a>
|
||||
=======
|
||||
<a name="id718415"></a>
|
||||
=======
|
||||
<a name="id740798"></a>
|
||||
=======
|
||||
<a name="id729464"></a>
|
||||
=======
|
||||
<a name="id726188"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -82,8 +165,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.functions.as_vector.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512541"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id763871"></a>
|
||||
=======
|
||||
<a name="id726148"></a>
|
||||
=======
|
||||
<a name="id718502"></a>
|
||||
=======
|
||||
<a name="id740885"></a>
|
||||
=======
|
||||
<a name="id729551"></a>
|
||||
=======
|
||||
<a name="id726274"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
|
||||
@ -96,22 +204,72 @@
|
||||
<tt class="computeroutput"><span class="identifier">seq</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_vector.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512700"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.header">Header</a>
|
||||
=======
|
||||
<a name="id763970"></a>
|
||||
=======
|
||||
<a name="id726247"></a>
|
||||
=======
|
||||
<a name="id718601"></a>
|
||||
=======
|
||||
<a name="id742077"></a>
|
||||
=======
|
||||
<a name="id729719"></a>
|
||||
=======
|
||||
<a name="id726442"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_vector.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id512866"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a>
|
||||
=======
|
||||
<a name="id764086"></a>
|
||||
=======
|
||||
<a name="id726431"></a>
|
||||
=======
|
||||
<a name="id718785"></a>
|
||||
=======
|
||||
<a name="id742192"></a>
|
||||
=======
|
||||
<a name="id729834"></a>
|
||||
=======
|
||||
<a name="id726558"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.functions.as_vector.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_vector</span><span class="special">(</span><a href="../../generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">))</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Metafunctions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../conversion.html" title="Conversion">
|
||||
<link rel="previous" href="functions/as_map.html" title="as_map">
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_list</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="previous" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="next" href="as_vector.html" title="as_vector">
|
||||
@ -30,22 +38,97 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_list.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514801"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.description">Description</a>
|
||||
=======
|
||||
<a name="id765479"></a>
|
||||
=======
|
||||
<a name="id727756"></a>
|
||||
=======
|
||||
<a name="id720110"></a>
|
||||
=======
|
||||
<a name="id743517"></a>
|
||||
=======
|
||||
<a name="id731159"></a>
|
||||
=======
|
||||
<a name="id727882"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/as_list.html" title="as_list"><tt class="computeroutput"><span class="identifier">as_list</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_list.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514849"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id765510"></a>
|
||||
=======
|
||||
<a name="id727787"></a>
|
||||
=======
|
||||
<a name="id720141"></a>
|
||||
=======
|
||||
<a name="id743548"></a>
|
||||
=======
|
||||
<a name="id731190"></a>
|
||||
=======
|
||||
<a name="id727914"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">as_list</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_list.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514927"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id765567"></a>
|
||||
=======
|
||||
<a name="id727844"></a>
|
||||
=======
|
||||
<a name="id720198"></a>
|
||||
=======
|
||||
<a name="id743605"></a>
|
||||
=======
|
||||
<a name="id731247"></a>
|
||||
=======
|
||||
<a name="id727970"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -77,8 +160,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_list.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515042"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id765657"></a>
|
||||
=======
|
||||
<a name="id727934"></a>
|
||||
=======
|
||||
<a name="id720288"></a>
|
||||
=======
|
||||
<a name="id743695"></a>
|
||||
=======
|
||||
<a name="id731337"></a>
|
||||
=======
|
||||
<a name="id728060"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -92,22 +200,72 @@
|
||||
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_list.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515196"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.header">Header</a>
|
||||
=======
|
||||
<a name="id765756"></a>
|
||||
=======
|
||||
<a name="id728033"></a>
|
||||
=======
|
||||
<a name="id720387"></a>
|
||||
=======
|
||||
<a name="id743794"></a>
|
||||
=======
|
||||
<a name="id731436"></a>
|
||||
=======
|
||||
<a name="id728160"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_list.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515362"></a>
|
||||
<a href="as_list.html#fusion.container.conversion.metafunctions.as_list.example">Example</a>
|
||||
=======
|
||||
<a name="id765876"></a>
|
||||
=======
|
||||
<a name="id728153"></a>
|
||||
=======
|
||||
<a name="id720507"></a>
|
||||
=======
|
||||
<a name="id743914"></a>
|
||||
=======
|
||||
<a name="id731556"></a>
|
||||
=======
|
||||
<a name="id728280"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_list.html#fusion.container.conversion.metafunctions.as_list.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_list</span><span class="special"><</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_map</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="previous" href="as_set.html" title="as_set">
|
||||
<link rel="next" href="../../../view.html" title="View">
|
||||
@ -30,22 +38,97 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_map.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516868"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.description">Description</a>
|
||||
=======
|
||||
<a name="id768703"></a>
|
||||
=======
|
||||
<a name="id729888"></a>
|
||||
=======
|
||||
<a name="id722242"></a>
|
||||
=======
|
||||
<a name="id745717"></a>
|
||||
=======
|
||||
<a name="id734247"></a>
|
||||
=======
|
||||
<a name="id730970"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/as_map.html" title="as_map"><tt class="computeroutput"><span class="identifier">as_map</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_map.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516916"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id768734"></a>
|
||||
=======
|
||||
<a name="id729919"></a>
|
||||
=======
|
||||
<a name="id722273"></a>
|
||||
=======
|
||||
<a name="id745748"></a>
|
||||
=======
|
||||
<a name="id734278"></a>
|
||||
=======
|
||||
<a name="id731001"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">as_map</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_map.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516994"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id768791"></a>
|
||||
=======
|
||||
<a name="id729975"></a>
|
||||
=======
|
||||
<a name="id722329"></a>
|
||||
=======
|
||||
<a name="id745804"></a>
|
||||
=======
|
||||
<a name="id734334"></a>
|
||||
=======
|
||||
<a name="id731057"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -77,8 +160,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_map.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id517108"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id768881"></a>
|
||||
=======
|
||||
<a name="id730065"></a>
|
||||
=======
|
||||
<a name="id722419"></a>
|
||||
=======
|
||||
<a name="id745894"></a>
|
||||
=======
|
||||
<a name="id734424"></a>
|
||||
=======
|
||||
<a name="id731147"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -97,15 +205,65 @@
|
||||
There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_map.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id517307"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.header">Header</a>
|
||||
=======
|
||||
<a name="id769008"></a>
|
||||
=======
|
||||
<a name="id730192"></a>
|
||||
=======
|
||||
<a name="id722546"></a>
|
||||
=======
|
||||
<a name="id746022"></a>
|
||||
=======
|
||||
<a name="id734551"></a>
|
||||
=======
|
||||
<a name="id731275"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_map.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id517474"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.metafunctions.as_map.example">Example</a>
|
||||
=======
|
||||
<a name="id769126"></a>
|
||||
=======
|
||||
<a name="id730310"></a>
|
||||
=======
|
||||
<a name="id722664"></a>
|
||||
=======
|
||||
<a name="id746139"></a>
|
||||
=======
|
||||
<a name="id734669"></a>
|
||||
=======
|
||||
<a name="id731392"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.metafunctions.as_map.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special"><</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span>
|
||||
<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><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span>
|
||||
@ -114,7 +272,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_set</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="previous" href="as_vector.html" title="as_vector">
|
||||
<link rel="next" href="as_map.html" title="as_map">
|
||||
@ -30,22 +38,97 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_set.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516171"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.description">Description</a>
|
||||
=======
|
||||
<a name="id766442"></a>
|
||||
=======
|
||||
<a name="id729402"></a>
|
||||
=======
|
||||
<a name="id721756"></a>
|
||||
=======
|
||||
<a name="id745231"></a>
|
||||
=======
|
||||
<a name="id733761"></a>
|
||||
=======
|
||||
<a name="id730484"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/as_set.html" title="as_set"><tt class="computeroutput"><span class="identifier">as_set</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_set.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516219"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id768248"></a>
|
||||
=======
|
||||
<a name="id729433"></a>
|
||||
=======
|
||||
<a name="id721787"></a>
|
||||
=======
|
||||
<a name="id745262"></a>
|
||||
=======
|
||||
<a name="id733792"></a>
|
||||
=======
|
||||
<a name="id730515"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">as_set</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_set.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516297"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id768305"></a>
|
||||
=======
|
||||
<a name="id729489"></a>
|
||||
=======
|
||||
<a name="id721843"></a>
|
||||
=======
|
||||
<a name="id745318"></a>
|
||||
=======
|
||||
<a name="id733848"></a>
|
||||
=======
|
||||
<a name="id730571"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -77,8 +160,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_set.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516412"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id768395"></a>
|
||||
=======
|
||||
<a name="id729579"></a>
|
||||
=======
|
||||
<a name="id721933"></a>
|
||||
=======
|
||||
<a name="id745408"></a>
|
||||
=======
|
||||
<a name="id733938"></a>
|
||||
=======
|
||||
<a name="id730661"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -96,22 +204,72 @@
|
||||
key types.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_set.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516578"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.header">Header</a>
|
||||
=======
|
||||
<a name="id768502"></a>
|
||||
=======
|
||||
<a name="id729686"></a>
|
||||
=======
|
||||
<a name="id722040"></a>
|
||||
=======
|
||||
<a name="id745515"></a>
|
||||
=======
|
||||
<a name="id734045"></a>
|
||||
=======
|
||||
<a name="id730768"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_set.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516744"></a>
|
||||
<a href="as_set.html#fusion.container.conversion.metafunctions.as_set.example">Example</a>
|
||||
=======
|
||||
<a name="id768619"></a>
|
||||
=======
|
||||
<a name="id729804"></a>
|
||||
=======
|
||||
<a name="id722158"></a>
|
||||
=======
|
||||
<a name="id745633"></a>
|
||||
=======
|
||||
<a name="id734163"></a>
|
||||
=======
|
||||
<a name="id730886"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_set.html#fusion.container.conversion.metafunctions.as_set.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special"><</span><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_vector</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="previous" href="as_list.html" title="as_list">
|
||||
<link rel="next" href="as_set.html" title="as_set">
|
||||
@ -30,22 +38,97 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_vector.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515486"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.description">Description</a>
|
||||
=======
|
||||
<a name="id765960"></a>
|
||||
=======
|
||||
<a name="id728237"></a>
|
||||
=======
|
||||
<a name="id720591"></a>
|
||||
=======
|
||||
<a name="id743998"></a>
|
||||
=======
|
||||
<a name="id731640"></a>
|
||||
=======
|
||||
<a name="id728364"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/as_vector.html" title="as_vector"><tt class="computeroutput"><span class="identifier">as_vector</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_vector.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515533"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id765992"></a>
|
||||
=======
|
||||
<a name="id728268"></a>
|
||||
=======
|
||||
<a name="id720622"></a>
|
||||
=======
|
||||
<a name="id744029"></a>
|
||||
=======
|
||||
<a name="id731672"></a>
|
||||
=======
|
||||
<a name="id728395"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">as_vector</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_vector.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515612"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id766048"></a>
|
||||
=======
|
||||
<a name="id728325"></a>
|
||||
=======
|
||||
<a name="id720679"></a>
|
||||
=======
|
||||
<a name="id744086"></a>
|
||||
=======
|
||||
<a name="id731728"></a>
|
||||
=======
|
||||
<a name="id728451"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -77,8 +160,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.metafunctions.as_vector.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515724"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id766138"></a>
|
||||
=======
|
||||
<a name="id728415"></a>
|
||||
=======
|
||||
<a name="id720769"></a>
|
||||
=======
|
||||
<a name="id744176"></a>
|
||||
=======
|
||||
<a name="id731818"></a>
|
||||
=======
|
||||
<a name="id728541"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -92,22 +200,72 @@
|
||||
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.metafunctions.as_vector.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id515879"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.header">Header</a>
|
||||
=======
|
||||
<a name="id766238"></a>
|
||||
=======
|
||||
<a name="id728514"></a>
|
||||
=======
|
||||
<a name="id720868"></a>
|
||||
=======
|
||||
<a name="id745027"></a>
|
||||
=======
|
||||
<a name="id733557"></a>
|
||||
=======
|
||||
<a name="id730280"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">convert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">as_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.metafunctions.as_vector.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id516046"></a>
|
||||
<a href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.example">Example</a>
|
||||
=======
|
||||
<a name="id766358"></a>
|
||||
=======
|
||||
<a name="id729318"></a>
|
||||
=======
|
||||
<a name="id721672"></a>
|
||||
=======
|
||||
<a name="id745147"></a>
|
||||
=======
|
||||
<a name="id733677"></a>
|
||||
=======
|
||||
<a name="id730400"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_vector.html#fusion.container.conversion.metafunctions.as_vector.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_vector</span><span class="special"><</span><a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Generation</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="map.html" title="map">
|
||||
@ -36,10 +40,17 @@
|
||||
<p>
|
||||
These are the functions that you can use to generate various forms of <a href="../container.html" title="Container">Container</a> from elemental values.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.generation.header"></a><h4>
|
||||
<a name="id488901"></a>
|
||||
<a href="generation.html#fusion.container.generation.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.generation.header"></a><h5>
|
||||
<a name="id695384"></a>
|
||||
<a class="link" href="generation.html#fusion.container.generation.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">generation</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Functions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../generation.html" title="Generation">
|
||||
<link rel="previous" href="../generation.html" title="Generation">
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>list_tie</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="tiers.html" title="Tiers">
|
||||
<link rel="next" href="vector_tie.html" title="vector_tie">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.list_tie.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id495882"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
|
||||
=======
|
||||
<a name="id747130"></a>
|
||||
=======
|
||||
<a name="id709543"></a>
|
||||
=======
|
||||
<a name="id701897"></a>
|
||||
=======
|
||||
<a name="id723167"></a>
|
||||
=======
|
||||
<a name="id712942"></a>
|
||||
=======
|
||||
<a name="id709666"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Constructs a tie using a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> sequence.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.list_tie.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id495928"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id747159"></a>
|
||||
=======
|
||||
<a name="id709572"></a>
|
||||
=======
|
||||
<a name="id701926"></a>
|
||||
=======
|
||||
<a name="id723196"></a>
|
||||
=======
|
||||
<a name="id719018"></a>
|
||||
=======
|
||||
<a name="id715741"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
|
||||
<a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><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">&></span>
|
||||
@ -55,8 +113,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.list_tie.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id496242"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id747378"></a>
|
||||
=======
|
||||
<a name="id714742"></a>
|
||||
=======
|
||||
<a name="id707096"></a>
|
||||
=======
|
||||
<a name="id730571"></a>
|
||||
=======
|
||||
<a name="id719238"></a>
|
||||
=======
|
||||
<a name="id715961"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -90,8 +173,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.list_tie.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id496416"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id748878"></a>
|
||||
=======
|
||||
<a name="id714875"></a>
|
||||
=======
|
||||
<a name="id707229"></a>
|
||||
=======
|
||||
<a name="id730705"></a>
|
||||
=======
|
||||
<a name="id719371"></a>
|
||||
=======
|
||||
<a name="id716094"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">list_tie</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -104,15 +212,65 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.list_tie.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id496583"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a>
|
||||
=======
|
||||
<a name="id748987"></a>
|
||||
=======
|
||||
<a name="id714984"></a>
|
||||
=======
|
||||
<a name="id707339"></a>
|
||||
=======
|
||||
<a name="id730814"></a>
|
||||
=======
|
||||
<a name="id719480"></a>
|
||||
=======
|
||||
<a name="id716203"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.list_tie.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id496750"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
|
||||
=======
|
||||
<a name="id749102"></a>
|
||||
=======
|
||||
<a name="id715100"></a>
|
||||
=======
|
||||
<a name="id707454"></a>
|
||||
=======
|
||||
<a name="id730929"></a>
|
||||
=======
|
||||
<a name="id719595"></a>
|
||||
=======
|
||||
<a name="id716318"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.functions.list_tie.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span>
|
||||
<span class="keyword">double</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">123.456</span><span class="special">;</span>
|
||||
@ -121,7 +279,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_cons</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="make_list.html" title="make_list">
|
||||
<link rel="next" href="make_vector.html" title="make_vector">
|
||||
@ -30,8 +38,33 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.make_cons.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id490215"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
|
||||
=======
|
||||
<a name="id741938"></a>
|
||||
=======
|
||||
<a name="id703942"></a>
|
||||
=======
|
||||
<a name="id696296"></a>
|
||||
=======
|
||||
<a name="id718658"></a>
|
||||
=======
|
||||
<a name="id708433"></a>
|
||||
=======
|
||||
<a name="id705156"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Create a <a href="../../cons.html" title="cons"><tt class="computeroutput"><span class="identifier">cons</span></tt></a>
|
||||
@ -39,8 +72,33 @@
|
||||
and optional <tt class="computeroutput"><span class="identifier">cdr</span></tt> (<span class="emphasis"><em>tail</em></span>).
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_cons.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id490293"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id741991"></a>
|
||||
=======
|
||||
<a name="id703995"></a>
|
||||
=======
|
||||
<a name="id696349"></a>
|
||||
=======
|
||||
<a name="id718710"></a>
|
||||
=======
|
||||
<a name="id708486"></a>
|
||||
=======
|
||||
<a name="id705209"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Car</span><span class="special">></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"><</span><span class="identifier">Car</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -51,8 +109,33 @@
|
||||
<span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">Car</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">car</span><span class="special">,</span> <span class="identifier">Cdr</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">cdr</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_cons.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id490624"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id742229"></a>
|
||||
=======
|
||||
<a name="id704232"></a>
|
||||
=======
|
||||
<a name="id696586"></a>
|
||||
=======
|
||||
<a name="id718948"></a>
|
||||
=======
|
||||
<a name="id708724"></a>
|
||||
=======
|
||||
<a name="id705447"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -97,8 +180,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.make_cons.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id490788"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id742358"></a>
|
||||
=======
|
||||
<a name="id704362"></a>
|
||||
=======
|
||||
<a name="id696716"></a>
|
||||
=======
|
||||
<a name="id719078"></a>
|
||||
=======
|
||||
<a name="id708853"></a>
|
||||
=======
|
||||
<a name="id705576"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="identifier">car</span><span class="special">,</span> <span class="identifier">cdr</span><span class="special">);</span>
|
||||
@ -112,21 +220,96 @@
|
||||
(<span class="emphasis"><em>tail</em></span>).
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_cons.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491040"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a>
|
||||
=======
|
||||
<a name="id742523"></a>
|
||||
=======
|
||||
<a name="id704526"></a>
|
||||
=======
|
||||
<a name="id696880"></a>
|
||||
=======
|
||||
<a name="id719242"></a>
|
||||
=======
|
||||
<a name="id709018"></a>
|
||||
=======
|
||||
<a name="id705741"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_cons.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491206"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
|
||||
=======
|
||||
<a name="id742638"></a>
|
||||
=======
|
||||
<a name="id704642"></a>
|
||||
=======
|
||||
<a name="id696996"></a>
|
||||
=======
|
||||
<a name="id719357"></a>
|
||||
=======
|
||||
<a name="id709133"></a>
|
||||
=======
|
||||
<a name="id705856"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_cons</span><span class="special">(</span><span class="char">'x'</span><span class="special">,</span> <span class="identifier">make_cons</span><span class="special">(</span><span class="number">123</span><span class="special">))</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_cons.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491279"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
|
||||
=======
|
||||
<a name="id742688"></a>
|
||||
=======
|
||||
<a name="id704692"></a>
|
||||
=======
|
||||
<a name="id697046"></a>
|
||||
=======
|
||||
<a name="id719408"></a>
|
||||
=======
|
||||
<a name="id709183"></a>
|
||||
=======
|
||||
<a name="id705906"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.functions.make_cons.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -135,7 +318,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_list</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="../functions.html" title="Functions">
|
||||
<link rel="next" href="make_cons.html" title="make_cons">
|
||||
@ -30,16 +38,66 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.make_list.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id489095"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
|
||||
=======
|
||||
<a name="id741155"></a>
|
||||
=======
|
||||
<a name="id703159"></a>
|
||||
=======
|
||||
<a name="id695513"></a>
|
||||
=======
|
||||
<a name="id717875"></a>
|
||||
=======
|
||||
<a name="id707646"></a>
|
||||
=======
|
||||
<a name="id704369"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a>
|
||||
from one or more values.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_list.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id489141"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id741187"></a>
|
||||
=======
|
||||
<a name="id703190"></a>
|
||||
=======
|
||||
<a name="id695544"></a>
|
||||
=======
|
||||
<a name="id717906"></a>
|
||||
=======
|
||||
<a name="id707677"></a>
|
||||
=======
|
||||
<a name="id704400"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></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"><</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">>::</span><span class="identifier">type</span>
|
||||
@ -56,8 +114,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_list.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id489503"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id741439"></a>
|
||||
=======
|
||||
<a name="id703442"></a>
|
||||
=======
|
||||
<a name="id695796"></a>
|
||||
=======
|
||||
<a name="id718158"></a>
|
||||
=======
|
||||
<a name="id707929"></a>
|
||||
=======
|
||||
<a name="id704652"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -91,8 +174,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.make_list.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id489676"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id741572"></a>
|
||||
=======
|
||||
<a name="id703575"></a>
|
||||
=======
|
||||
<a name="id695930"></a>
|
||||
=======
|
||||
<a name="id718291"></a>
|
||||
=======
|
||||
<a name="id708067"></a>
|
||||
=======
|
||||
<a name="id704790"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -104,21 +212,96 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_list.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id489899"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a>
|
||||
=======
|
||||
<a name="id741722"></a>
|
||||
=======
|
||||
<a name="id703726"></a>
|
||||
=======
|
||||
<a name="id696080"></a>
|
||||
=======
|
||||
<a name="id718442"></a>
|
||||
=======
|
||||
<a name="id708217"></a>
|
||||
=======
|
||||
<a name="id704940"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_list.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id490065"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
|
||||
=======
|
||||
<a name="id741837"></a>
|
||||
=======
|
||||
<a name="id703841"></a>
|
||||
=======
|
||||
<a name="id696195"></a>
|
||||
=======
|
||||
<a name="id718557"></a>
|
||||
=======
|
||||
<a name="id708332"></a>
|
||||
=======
|
||||
<a name="id705056"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_list</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_list.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id490139"></a>
|
||||
<a href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
|
||||
=======
|
||||
<a name="id741889"></a>
|
||||
=======
|
||||
<a name="id703893"></a>
|
||||
=======
|
||||
<a name="id696247"></a>
|
||||
=======
|
||||
<a name="id718608"></a>
|
||||
=======
|
||||
<a name="id708384"></a>
|
||||
=======
|
||||
<a name="id705107"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.functions.make_list.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -127,7 +310,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_map</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="make_set.html" title="make_set">
|
||||
<link rel="next" href="tiers.html" title="Tiers">
|
||||
@ -30,16 +38,66 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.make_map.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id493601"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.description">Description</a>
|
||||
=======
|
||||
<a name="id745541"></a>
|
||||
=======
|
||||
<a name="id707954"></a>
|
||||
=======
|
||||
<a name="id700309"></a>
|
||||
=======
|
||||
<a name="id721578"></a>
|
||||
=======
|
||||
<a name="id711354"></a>
|
||||
=======
|
||||
<a name="id708077"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Create a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>
|
||||
from one or more key/data pairs.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_map.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id493648"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id745571"></a>
|
||||
=======
|
||||
<a name="id707984"></a>
|
||||
=======
|
||||
<a name="id700339"></a>
|
||||
=======
|
||||
<a name="id721608"></a>
|
||||
=======
|
||||
<a name="id711384"></a>
|
||||
=======
|
||||
<a name="id708107"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">K0</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="keyword">typename</span> <span class="identifier">KN</span>
|
||||
@ -58,8 +116,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_map.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id494095"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id745888"></a>
|
||||
=======
|
||||
<a name="id708301"></a>
|
||||
=======
|
||||
<a name="id700655"></a>
|
||||
=======
|
||||
<a name="id721925"></a>
|
||||
=======
|
||||
<a name="id711700"></a>
|
||||
=======
|
||||
<a name="id708424"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -108,8 +191,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.make_map.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id494360"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id746092"></a>
|
||||
=======
|
||||
<a name="id708505"></a>
|
||||
=======
|
||||
<a name="id700859"></a>
|
||||
=======
|
||||
<a name="id722129"></a>
|
||||
=======
|
||||
<a name="id711904"></a>
|
||||
=======
|
||||
<a name="id708628"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_map</span><span class="special"><</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">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -128,21 +236,96 @@
|
||||
key types.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_map.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id494693"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.header">Header</a>
|
||||
=======
|
||||
<a name="id746325"></a>
|
||||
=======
|
||||
<a name="id708738"></a>
|
||||
=======
|
||||
<a name="id701092"></a>
|
||||
=======
|
||||
<a name="id722362"></a>
|
||||
=======
|
||||
<a name="id712137"></a>
|
||||
=======
|
||||
<a name="id708860"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_map.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id494860"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.example">Example</a>
|
||||
=======
|
||||
<a name="id746440"></a>
|
||||
=======
|
||||
<a name="id708853"></a>
|
||||
=======
|
||||
<a name="id701207"></a>
|
||||
=======
|
||||
<a name="id722477"></a>
|
||||
=======
|
||||
<a name="id712252"></a>
|
||||
=======
|
||||
<a name="id708976"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_map</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>(</span><span class="char">'X'</span><span class="special">,</span> <span class="string">"Men"</span><span class="special">)</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_map.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id494945"></a>
|
||||
<a href="make_map.html#fusion.container.generation.functions.make_map.see_also">See
|
||||
=======
|
||||
<a name="id746496"></a>
|
||||
=======
|
||||
<a name="id708910"></a>
|
||||
=======
|
||||
<a name="id701264"></a>
|
||||
=======
|
||||
<a name="id722533"></a>
|
||||
=======
|
||||
<a name="id712309"></a>
|
||||
=======
|
||||
<a name="id709032"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.functions.make_map.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -152,7 +335,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_set</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="make_vector.html" title="make_vector">
|
||||
<link rel="next" href="make_map.html" title="make_map">
|
||||
@ -30,16 +38,66 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.make_set.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id492472"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.description">Description</a>
|
||||
=======
|
||||
<a name="id743530"></a>
|
||||
=======
|
||||
<a name="id705533"></a>
|
||||
=======
|
||||
<a name="id697887"></a>
|
||||
=======
|
||||
<a name="id720249"></a>
|
||||
=======
|
||||
<a name="id710024"></a>
|
||||
=======
|
||||
<a name="id706748"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Create a <a href="../../set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>
|
||||
from one or more values.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_set.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id492518"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id743558"></a>
|
||||
=======
|
||||
<a name="id705562"></a>
|
||||
=======
|
||||
<a name="id697916"></a>
|
||||
=======
|
||||
<a name="id720278"></a>
|
||||
=======
|
||||
<a name="id710053"></a>
|
||||
=======
|
||||
<a name="id706776"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></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"><</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">>::</span><span class="identifier">type</span>
|
||||
@ -56,8 +114,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_SET_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_set.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id492877"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id743808"></a>
|
||||
=======
|
||||
<a name="id705812"></a>
|
||||
=======
|
||||
<a name="id698166"></a>
|
||||
=======
|
||||
<a name="id721074"></a>
|
||||
=======
|
||||
<a name="id710850"></a>
|
||||
=======
|
||||
<a name="id707573"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -91,8 +174,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.make_set.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id493051"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id743941"></a>
|
||||
=======
|
||||
<a name="id707584"></a>
|
||||
=======
|
||||
<a name="id699938"></a>
|
||||
=======
|
||||
<a name="id721207"></a>
|
||||
=======
|
||||
<a name="id710983"></a>
|
||||
=======
|
||||
<a name="id707706"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_set</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -108,21 +216,96 @@
|
||||
key types.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_set.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id493285"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.header">Header</a>
|
||||
=======
|
||||
<a name="id745330"></a>
|
||||
=======
|
||||
<a name="id707743"></a>
|
||||
=======
|
||||
<a name="id700097"></a>
|
||||
=======
|
||||
<a name="id721367"></a>
|
||||
=======
|
||||
<a name="id711142"></a>
|
||||
=======
|
||||
<a name="id707866"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_set.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id493452"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.example">Example</a>
|
||||
=======
|
||||
<a name="id745445"></a>
|
||||
=======
|
||||
<a name="id707858"></a>
|
||||
=======
|
||||
<a name="id700213"></a>
|
||||
=======
|
||||
<a name="id721482"></a>
|
||||
=======
|
||||
<a name="id711258"></a>
|
||||
=======
|
||||
<a name="id707981"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_set</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_set.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id493526"></a>
|
||||
<a href="make_set.html#fusion.container.generation.functions.make_set.see_also">See
|
||||
=======
|
||||
<a name="id745494"></a>
|
||||
=======
|
||||
<a name="id707908"></a>
|
||||
=======
|
||||
<a name="id700262"></a>
|
||||
=======
|
||||
<a name="id721531"></a>
|
||||
=======
|
||||
<a name="id711307"></a>
|
||||
=======
|
||||
<a name="id708030"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.functions.make_set.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -131,7 +314,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_vector</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="make_cons.html" title="make_cons">
|
||||
<link rel="next" href="make_set.html" title="make_set">
|
||||
@ -30,16 +38,66 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.make_vector.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491353"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.description">Description</a>
|
||||
=======
|
||||
<a name="id742738"></a>
|
||||
=======
|
||||
<a name="id704741"></a>
|
||||
=======
|
||||
<a name="id697095"></a>
|
||||
=======
|
||||
<a name="id719457"></a>
|
||||
=======
|
||||
<a name="id709232"></a>
|
||||
=======
|
||||
<a name="id705956"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Create a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>
|
||||
from one or more values.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_vector.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491399"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id742769"></a>
|
||||
=======
|
||||
<a name="id704772"></a>
|
||||
=======
|
||||
<a name="id697126"></a>
|
||||
=======
|
||||
<a name="id719488"></a>
|
||||
=======
|
||||
<a name="id709264"></a>
|
||||
=======
|
||||
<a name="id705987"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></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"><</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">>::</span><span class="identifier">type</span>
|
||||
@ -56,8 +114,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_vector.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491757"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id743021"></a>
|
||||
=======
|
||||
<a name="id705024"></a>
|
||||
=======
|
||||
<a name="id697378"></a>
|
||||
=======
|
||||
<a name="id719740"></a>
|
||||
=======
|
||||
<a name="id709516"></a>
|
||||
=======
|
||||
<a name="id706239"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -91,8 +174,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.make_vector.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id491931"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id743154"></a>
|
||||
=======
|
||||
<a name="id705158"></a>
|
||||
=======
|
||||
<a name="id697512"></a>
|
||||
=======
|
||||
<a name="id719873"></a>
|
||||
=======
|
||||
<a name="id709649"></a>
|
||||
=======
|
||||
<a name="id706372"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_vector</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -104,21 +212,96 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.make_vector.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id492155"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.header">Header</a>
|
||||
=======
|
||||
<a name="id743306"></a>
|
||||
=======
|
||||
<a name="id705310"></a>
|
||||
=======
|
||||
<a name="id697664"></a>
|
||||
=======
|
||||
<a name="id720026"></a>
|
||||
=======
|
||||
<a name="id709801"></a>
|
||||
=======
|
||||
<a name="id706524"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">generation</span><span class="special">/</span><span class="identifier">make_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">make_vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_vector.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id492322"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.example">Example</a>
|
||||
=======
|
||||
<a name="id743426"></a>
|
||||
=======
|
||||
<a name="id705430"></a>
|
||||
=======
|
||||
<a name="id697784"></a>
|
||||
=======
|
||||
<a name="id720146"></a>
|
||||
=======
|
||||
<a name="id709921"></a>
|
||||
=======
|
||||
<a name="id706644"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_vector</span><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">,</span> <span class="number">12.5</span><span class="special">)</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.make_vector.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id492397"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.functions.make_vector.see_also">See
|
||||
=======
|
||||
<a name="id743480"></a>
|
||||
=======
|
||||
<a name="id705484"></a>
|
||||
=======
|
||||
<a name="id697838"></a>
|
||||
=======
|
||||
<a name="id720200"></a>
|
||||
=======
|
||||
<a name="id709975"></a>
|
||||
=======
|
||||
<a name="id706698"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.functions.make_vector.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -127,7 +310,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>map_tie</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="vector_tie.html" title="vector_tie">
|
||||
<link rel="next" href="../metafunctions.html" title="MetaFunctions">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.map_tie.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id497901"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.functions.map_tie.description">Description</a>
|
||||
=======
|
||||
<a name="id749917"></a>
|
||||
=======
|
||||
<a name="id715914"></a>
|
||||
=======
|
||||
<a name="id708269"></a>
|
||||
=======
|
||||
<a name="id731744"></a>
|
||||
=======
|
||||
<a name="id720410"></a>
|
||||
=======
|
||||
<a name="id717133"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Constructs a tie using a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> sequence.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.map_tie.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id497948"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.functions.map_tie.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id749946"></a>
|
||||
=======
|
||||
<a name="id715943"></a>
|
||||
=======
|
||||
<a name="id708297"></a>
|
||||
=======
|
||||
<a name="id731773"></a>
|
||||
=======
|
||||
<a name="id720439"></a>
|
||||
=======
|
||||
<a name="id717162"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
|
||||
<a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a><span class="special"><</span><a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special"><</span><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">D0</span><span class="special">&>,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special"><</span><span class="identifier">K1</span><span class="special">,</span> <span class="identifier">D1</span><span class="special">&>,...</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special"><</span><span class="identifier">KN</span><span class="special">,</span> <span class="identifier">DN</span><span class="special">&></span> <span class="special">></span>
|
||||
@ -55,8 +113,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.map_tie.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id498415"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.functions.map_tie.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id750271"></a>
|
||||
=======
|
||||
<a name="id716268"></a>
|
||||
=======
|
||||
<a name="id708623"></a>
|
||||
=======
|
||||
<a name="id732098"></a>
|
||||
=======
|
||||
<a name="id720764"></a>
|
||||
=======
|
||||
<a name="id717487"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -106,8 +189,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.map_tie.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id498679"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.functions.map_tie.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id750474"></a>
|
||||
=======
|
||||
<a name="id716471"></a>
|
||||
=======
|
||||
<a name="id708825"></a>
|
||||
=======
|
||||
<a name="id732301"></a>
|
||||
=======
|
||||
<a name="id720967"></a>
|
||||
=======
|
||||
<a name="id717690"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">map_tie</span><span class="special"><</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">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -121,15 +229,65 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt> with keys <tt class="computeroutput"><span class="identifier">K0</span><span class="special">,</span> <span class="identifier">K1</span><span class="special">,...</span> <span class="identifier">KN</span></tt>
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.map_tie.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id498961"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.functions.map_tie.header">Header</a>
|
||||
=======
|
||||
<a name="id750660"></a>
|
||||
=======
|
||||
<a name="id716657"></a>
|
||||
=======
|
||||
<a name="id709011"></a>
|
||||
=======
|
||||
<a name="id732487"></a>
|
||||
=======
|
||||
<a name="id721153"></a>
|
||||
=======
|
||||
<a name="id717876"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.map_tie.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id499127"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.functions.map_tie.example">Example</a>
|
||||
=======
|
||||
<a name="id750775"></a>
|
||||
=======
|
||||
<a name="id716772"></a>
|
||||
=======
|
||||
<a name="id709127"></a>
|
||||
=======
|
||||
<a name="id732602"></a>
|
||||
=======
|
||||
<a name="id721337"></a>
|
||||
=======
|
||||
<a name="id718060"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.functions.map_tie.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">int_key</span><span class="special">;</span>
|
||||
<span class="keyword">struct</span> <span class="identifier">double_key</span><span class="special">;</span>
|
||||
@ -141,7 +299,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>Tiers</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="make_map.html" title="make_map">
|
||||
<link rel="next" href="list_tie.html" title="list_tie">
|
||||
@ -48,11 +56,19 @@
|
||||
<a href="vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">c</span><span class="special">,</span> <span class="identifier">a</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<<<<<<< .working
|
||||
The <a href="vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a> function creates
|
||||
a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>
|
||||
of type <tt class="computeroutput"><a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</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">&></span></tt>. The same result could be achieved
|
||||
with the call <a href="make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a>(<a href="http://www.boost.org/doc/html/ref.html" target="_top"><tt class="computeroutput"><span class="identifier">ref</span></tt></a>(i), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><tt class="computeroutput"><span class="identifier">ref</span></tt></a>(c), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><tt class="computeroutput"><span class="identifier">ref</span></tt></a>(a))
|
||||
<sup>[<a name="id495412" href="#ftn.id495412">9</a>]</sup>
|
||||
=======
|
||||
The <a class="link" href="vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a> function creates
|
||||
a <a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a>
|
||||
of type <code class="computeroutput"><a class="link" href="../../vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</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">&></span></code>. The same result could be achieved
|
||||
with the call <a class="link" href="make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a>(<a href="http://www.boost.org/doc/html/ref.html" target="_top"><code class="computeroutput"><span class="identifier">ref</span></code></a>(i), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><code class="computeroutput"><span class="identifier">ref</span></code></a>(c), <a href="http://www.boost.org/doc/html/ref.html" target="_top"><code class="computeroutput"><span class="identifier">ref</span></code></a>(a))
|
||||
<sup>[<a name="id709333" href="#ftn.id709333" class="footnote">9</a>]</sup>
|
||||
>>>>>>> .merge-right.r57125
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
@ -69,8 +85,33 @@
|
||||
when calling functions which return sequences.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.tiers.ignore"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id495712"></a>
|
||||
<a href="tiers.html#fusion.container.generation.functions.tiers.ignore">Ignore</a>
|
||||
=======
|
||||
<a name="id747017"></a>
|
||||
=======
|
||||
<a name="id709430"></a>
|
||||
=======
|
||||
<a name="id701785"></a>
|
||||
=======
|
||||
<a name="id723054"></a>
|
||||
=======
|
||||
<a name="id712830"></a>
|
||||
=======
|
||||
<a name="id709553"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="tiers.html#fusion.container.generation.functions.tiers.ignore">Ignore</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
There is also an object called <span class="emphasis"><em>ignore</em></span> which allows
|
||||
@ -83,7 +124,31 @@
|
||||
</pre>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id495412" href="#id495412">9</a>] </sup>
|
||||
=======
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id746798" href="#id746798" class="para">9</a>] </sup>
|
||||
=======
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id709211" href="#id709211" class="para">9</a>] </sup>
|
||||
=======
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id701565" href="#id701565" class="para">9</a>] </sup>
|
||||
=======
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id722834" href="#id722834" class="para">9</a>] </sup>
|
||||
=======
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id712610" href="#id712610" class="para">9</a>] </sup>
|
||||
=======
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id709333" href="#id709333" class="para">9</a>] </sup>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
>>>>>>> .merge-right.r57125
|
||||
see <a href="http://www.boost.org/doc/html/ref.html" target="_top">Boost.Ref</a>
|
||||
for details about <tt class="computeroutput"><span class="identifier">ref</span></tt>
|
||||
</p></div>
|
||||
@ -91,7 +156,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>vector_tie</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="list_tie.html" title="list_tie">
|
||||
<link rel="next" href="map_tie.html" title="map_tie">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.functions.vector_tie.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id496890"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.description">Description</a>
|
||||
=======
|
||||
<a name="id749202"></a>
|
||||
=======
|
||||
<a name="id715199"></a>
|
||||
=======
|
||||
<a name="id707553"></a>
|
||||
=======
|
||||
<a name="id731029"></a>
|
||||
=======
|
||||
<a name="id719695"></a>
|
||||
=======
|
||||
<a name="id716418"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Constructs a tie using a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> sequence.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.vector_tie.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id496938"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id749233"></a>
|
||||
=======
|
||||
<a name="id715230"></a>
|
||||
=======
|
||||
<a name="id707585"></a>
|
||||
=======
|
||||
<a name="id731060"></a>
|
||||
=======
|
||||
<a name="id719726"></a>
|
||||
=======
|
||||
<a name="id716449"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
|
||||
<a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><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">&></span>
|
||||
@ -55,8 +113,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.vector_tie.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id497252"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id749455"></a>
|
||||
=======
|
||||
<a name="id715452"></a>
|
||||
=======
|
||||
<a name="id707807"></a>
|
||||
=======
|
||||
<a name="id731282"></a>
|
||||
=======
|
||||
<a name="id719948"></a>
|
||||
=======
|
||||
<a name="id716671"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -90,8 +173,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.functions.vector_tie.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id497426"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id749588"></a>
|
||||
=======
|
||||
<a name="id715586"></a>
|
||||
=======
|
||||
<a name="id707940"></a>
|
||||
=======
|
||||
<a name="id731415"></a>
|
||||
=======
|
||||
<a name="id720081"></a>
|
||||
=======
|
||||
<a name="id716804"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">vector_tie</span><span class="special">(</span><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span><span class="special">);</span>
|
||||
@ -104,15 +212,65 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">x0</span><span class="special">,</span> <span class="identifier">x1</span><span class="special">,...</span> <span class="identifier">xN</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.functions.vector_tie.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id497592"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.header">Header</a>
|
||||
=======
|
||||
<a name="id749697"></a>
|
||||
=======
|
||||
<a name="id715695"></a>
|
||||
=======
|
||||
<a name="id708049"></a>
|
||||
=======
|
||||
<a name="id731524"></a>
|
||||
=======
|
||||
<a name="id720190"></a>
|
||||
=======
|
||||
<a name="id716914"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.functions.vector_tie.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id497759"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.functions.vector_tie.example">Example</a>
|
||||
=======
|
||||
<a name="id749815"></a>
|
||||
=======
|
||||
<a name="id715812"></a>
|
||||
=======
|
||||
<a name="id708167"></a>
|
||||
=======
|
||||
<a name="id731642"></a>
|
||||
=======
|
||||
<a name="id720308"></a>
|
||||
=======
|
||||
<a name="id717031"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.functions.vector_tie.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">123</span><span class="special">;</span>
|
||||
<span class="keyword">double</span> <span class="identifier">d</span> <span class="special">=</span> <span class="number">123.456</span><span class="special">;</span>
|
||||
@ -121,7 +279,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>MetaFunctions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../generation.html" title="Generation">
|
||||
<link rel="previous" href="functions/map_tie.html" title="map_tie">
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>list_tie</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="make_map.html" title="make_map">
|
||||
<link rel="next" href="vector_tie.html" title="vector_tie">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.list_tie.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508299"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.description">Description</a>
|
||||
=======
|
||||
<a name="id760890"></a>
|
||||
=======
|
||||
<a name="id721528"></a>
|
||||
=======
|
||||
<a name="id713882"></a>
|
||||
=======
|
||||
<a name="id737221"></a>
|
||||
=======
|
||||
<a name="id725887"></a>
|
||||
=======
|
||||
<a name="id722610"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.list_tie.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508347"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id760921"></a>
|
||||
=======
|
||||
<a name="id721559"></a>
|
||||
=======
|
||||
<a name="id713913"></a>
|
||||
=======
|
||||
<a name="id737252"></a>
|
||||
=======
|
||||
<a name="id725918"></a>
|
||||
=======
|
||||
<a name="id722641"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">list_tie</span><span class="special">;</span>
|
||||
@ -54,8 +112,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.list_tie.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508550"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id761061"></a>
|
||||
=======
|
||||
<a name="id721699"></a>
|
||||
=======
|
||||
<a name="id714054"></a>
|
||||
=======
|
||||
<a name="id737392"></a>
|
||||
=======
|
||||
<a name="id726058"></a>
|
||||
=======
|
||||
<a name="id722782"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -89,8 +172,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.list_tie.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508691"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id761170"></a>
|
||||
=======
|
||||
<a name="id721809"></a>
|
||||
=======
|
||||
<a name="id714163"></a>
|
||||
=======
|
||||
<a name="id737501"></a>
|
||||
=======
|
||||
<a name="id726168"></a>
|
||||
=======
|
||||
<a name="id722891"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -103,22 +211,72 @@
|
||||
<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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.list_tie.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508877"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.header">Header</a>
|
||||
=======
|
||||
<a name="id761296"></a>
|
||||
=======
|
||||
<a name="id721935"></a>
|
||||
=======
|
||||
<a name="id714289"></a>
|
||||
=======
|
||||
<a name="id737627"></a>
|
||||
=======
|
||||
<a name="id726294"></a>
|
||||
=======
|
||||
<a name="id723017"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.list_tie.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509045"></a>
|
||||
<a href="list_tie.html#fusion.container.generation.metafunctions.list_tie.example">Example</a>
|
||||
=======
|
||||
<a name="id761416"></a>
|
||||
=======
|
||||
<a name="id722055"></a>
|
||||
=======
|
||||
<a name="id714409"></a>
|
||||
=======
|
||||
<a name="id737747"></a>
|
||||
=======
|
||||
<a name="id726414"></a>
|
||||
=======
|
||||
<a name="id723137"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="list_tie.html#fusion.container.generation.metafunctions.list_tie.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">list_tie</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_cons</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="make_list.html" title="make_list">
|
||||
<link rel="next" href="make_vector.html" title="make_vector">
|
||||
@ -30,22 +38,97 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.make_cons.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500230"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.description">Description</a>
|
||||
=======
|
||||
<a name="id752300"></a>
|
||||
=======
|
||||
<a name="id718708"></a>
|
||||
=======
|
||||
<a name="id711062"></a>
|
||||
=======
|
||||
<a name="id733376"></a>
|
||||
=======
|
||||
<a name="id722111"></a>
|
||||
=======
|
||||
<a name="id718834"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_cons.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500278"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id752331"></a>
|
||||
=======
|
||||
<a name="id718739"></a>
|
||||
=======
|
||||
<a name="id711093"></a>
|
||||
=======
|
||||
<a name="id733408"></a>
|
||||
=======
|
||||
<a name="id722142"></a>
|
||||
=======
|
||||
<a name="id718865"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></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>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500386"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id752411"></a>
|
||||
=======
|
||||
<a name="id718818"></a>
|
||||
=======
|
||||
<a name="id711172"></a>
|
||||
=======
|
||||
<a name="id733487"></a>
|
||||
=======
|
||||
<a name="id722221"></a>
|
||||
=======
|
||||
<a name="id718944"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -90,8 +173,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.make_cons.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500538"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id752534"></a>
|
||||
=======
|
||||
<a name="id718942"></a>
|
||||
=======
|
||||
<a name="id711296"></a>
|
||||
=======
|
||||
<a name="id733610"></a>
|
||||
=======
|
||||
<a name="id722345"></a>
|
||||
=======
|
||||
<a name="id719068"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</span><span class="identifier">Car</span><span class="special">,</span> <span class="identifier">Cdr</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -107,22 +215,72 @@
|
||||
(<span class="emphasis"><em>tail</em></span>).
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_cons.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500740"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.header">Header</a>
|
||||
=======
|
||||
<a name="id752667"></a>
|
||||
=======
|
||||
<a name="id719075"></a>
|
||||
=======
|
||||
<a name="id711429"></a>
|
||||
=======
|
||||
<a name="id733744"></a>
|
||||
=======
|
||||
<a name="id722478"></a>
|
||||
=======
|
||||
<a name="id719201"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_cons.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500907"></a>
|
||||
<a href="make_cons.html#fusion.container.generation.metafunctions.make_cons.example">Example</a>
|
||||
=======
|
||||
<a name="id752787"></a>
|
||||
=======
|
||||
<a name="id719195"></a>
|
||||
=======
|
||||
<a name="id711549"></a>
|
||||
=======
|
||||
<a name="id733864"></a>
|
||||
=======
|
||||
<a name="id722598"></a>
|
||||
=======
|
||||
<a name="id719321"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_cons.html#fusion.container.generation.metafunctions.make_cons.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_cons</span><span class="special"><</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"><</span><span class="keyword">int</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_list</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="next" href="make_cons.html" title="make_cons">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.make_list.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id499351"></a>
|
||||
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.description">Description</a>
|
||||
=======
|
||||
<a name="id750932"></a>
|
||||
=======
|
||||
<a name="id718091"></a>
|
||||
=======
|
||||
<a name="id710445"></a>
|
||||
=======
|
||||
<a name="id732760"></a>
|
||||
=======
|
||||
<a name="id721494"></a>
|
||||
=======
|
||||
<a name="id718217"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_list.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id499398"></a>
|
||||
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id750963"></a>
|
||||
=======
|
||||
<a name="id718122"></a>
|
||||
=======
|
||||
<a name="id710476"></a>
|
||||
=======
|
||||
<a name="id732791"></a>
|
||||
=======
|
||||
<a name="id721525"></a>
|
||||
=======
|
||||
<a name="id718248"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">make_list</span><span class="special">;</span>
|
||||
@ -54,8 +112,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_list.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id499601"></a>
|
||||
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id751855"></a>
|
||||
=======
|
||||
<a name="id718262"></a>
|
||||
=======
|
||||
<a name="id710616"></a>
|
||||
=======
|
||||
<a name="id732931"></a>
|
||||
=======
|
||||
<a name="id721666"></a>
|
||||
=======
|
||||
<a name="id718389"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -89,8 +172,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.make_list.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id499743"></a>
|
||||
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id751964"></a>
|
||||
=======
|
||||
<a name="id718372"></a>
|
||||
=======
|
||||
<a name="id710726"></a>
|
||||
=======
|
||||
<a name="id733040"></a>
|
||||
=======
|
||||
<a name="id721775"></a>
|
||||
=======
|
||||
<a name="id718498"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span>
|
||||
@ -104,22 +212,72 @@
|
||||
<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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_list.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id499935"></a>
|
||||
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.header">Header</a>
|
||||
=======
|
||||
<a name="id752093"></a>
|
||||
=======
|
||||
<a name="id718500"></a>
|
||||
=======
|
||||
<a name="id710854"></a>
|
||||
=======
|
||||
<a name="id733169"></a>
|
||||
=======
|
||||
<a name="id721903"></a>
|
||||
=======
|
||||
<a name="id718626"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_list.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id500103"></a>
|
||||
<a href="make_list.html#fusion.container.generation.metafunctions.make_list.example">Example</a>
|
||||
=======
|
||||
<a name="id752213"></a>
|
||||
=======
|
||||
<a name="id718620"></a>
|
||||
=======
|
||||
<a name="id710974"></a>
|
||||
=======
|
||||
<a name="id733289"></a>
|
||||
=======
|
||||
<a name="id722023"></a>
|
||||
=======
|
||||
<a name="id718746"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_list.html#fusion.container.generation.metafunctions.make_list.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_list</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&)[</span><span class="number">7</span><span class="special">],</span> <span class="keyword">double</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_map</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="make_set.html" title="make_set">
|
||||
<link rel="next" href="list_tie.html" title="list_tie">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id507053"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.description">Description</a>
|
||||
=======
|
||||
<a name="id760004"></a>
|
||||
=======
|
||||
<a name="id720642"></a>
|
||||
=======
|
||||
<a name="id712996"></a>
|
||||
=======
|
||||
<a name="id736335"></a>
|
||||
=======
|
||||
<a name="id725001"></a>
|
||||
=======
|
||||
<a name="id721724"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id507101"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id760035"></a>
|
||||
=======
|
||||
<a name="id720673"></a>
|
||||
=======
|
||||
<a name="id713028"></a>
|
||||
=======
|
||||
<a name="id736366"></a>
|
||||
=======
|
||||
<a name="id725032"></a>
|
||||
=======
|
||||
<a name="id721756"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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>
|
||||
@ -56,8 +114,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id507362"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id760218"></a>
|
||||
=======
|
||||
<a name="id720856"></a>
|
||||
=======
|
||||
<a name="id713210"></a>
|
||||
=======
|
||||
<a name="id736549"></a>
|
||||
=======
|
||||
<a name="id725215"></a>
|
||||
=======
|
||||
<a name="id721938"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -106,8 +189,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id507615"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id760414"></a>
|
||||
=======
|
||||
<a name="id721053"></a>
|
||||
=======
|
||||
<a name="id713407"></a>
|
||||
=======
|
||||
<a name="id736745"></a>
|
||||
=======
|
||||
<a name="id725412"></a>
|
||||
=======
|
||||
<a name="id722135"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -125,21 +233,96 @@
|
||||
key types.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id507952"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.header">Header</a>
|
||||
=======
|
||||
<a name="id760647"></a>
|
||||
=======
|
||||
<a name="id721285"></a>
|
||||
=======
|
||||
<a name="id713640"></a>
|
||||
=======
|
||||
<a name="id736978"></a>
|
||||
=======
|
||||
<a name="id725644"></a>
|
||||
=======
|
||||
<a name="id722368"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508120"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.example">Example</a>
|
||||
=======
|
||||
<a name="id760767"></a>
|
||||
=======
|
||||
<a name="id721405"></a>
|
||||
=======
|
||||
<a name="id713760"></a>
|
||||
=======
|
||||
<a name="id737098"></a>
|
||||
=======
|
||||
<a name="id725764"></a>
|
||||
=======
|
||||
<a name="id722488"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_map</span><span class="special"><</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">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_map.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id508222"></a>
|
||||
<a href="make_map.html#fusion.container.generation.metafunctions.make_map.see_also">See
|
||||
=======
|
||||
<a name="id760840"></a>
|
||||
=======
|
||||
<a name="id721479"></a>
|
||||
=======
|
||||
<a name="id713833"></a>
|
||||
=======
|
||||
<a name="id737171"></a>
|
||||
=======
|
||||
<a name="id725838"></a>
|
||||
=======
|
||||
<a name="id722561"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_map.html#fusion.container.generation.metafunctions.make_map.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -148,7 +331,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_set</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="make_vector.html" title="make_vector">
|
||||
<link rel="next" href="make_map.html" title="make_map">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.make_set.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506183"></a>
|
||||
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.description">Description</a>
|
||||
=======
|
||||
<a name="id753483"></a>
|
||||
=======
|
||||
<a name="id719891"></a>
|
||||
=======
|
||||
<a name="id712245"></a>
|
||||
=======
|
||||
<a name="id734560"></a>
|
||||
=======
|
||||
<a name="id723294"></a>
|
||||
=======
|
||||
<a name="id720017"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_set.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506230"></a>
|
||||
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id753515"></a>
|
||||
=======
|
||||
<a name="id719922"></a>
|
||||
=======
|
||||
<a name="id712276"></a>
|
||||
=======
|
||||
<a name="id734591"></a>
|
||||
=======
|
||||
<a name="id723325"></a>
|
||||
=======
|
||||
<a name="id720048"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">make_set</span><span class="special">;</span>
|
||||
@ -54,8 +112,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_SET_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_set.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506434"></a>
|
||||
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id753655"></a>
|
||||
=======
|
||||
<a name="id720062"></a>
|
||||
=======
|
||||
<a name="id712416"></a>
|
||||
=======
|
||||
<a name="id734731"></a>
|
||||
=======
|
||||
<a name="id724558"></a>
|
||||
=======
|
||||
<a name="id721282"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -89,8 +172,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.make_set.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506575"></a>
|
||||
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id753764"></a>
|
||||
=======
|
||||
<a name="id720172"></a>
|
||||
=======
|
||||
<a name="id712526"></a>
|
||||
=======
|
||||
<a name="id736001"></a>
|
||||
=======
|
||||
<a name="id724668"></a>
|
||||
=======
|
||||
<a name="id721391"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span>
|
||||
@ -108,22 +216,72 @@
|
||||
key types.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_set.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506775"></a>
|
||||
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.header">Header</a>
|
||||
=======
|
||||
<a name="id753902"></a>
|
||||
=======
|
||||
<a name="id720447"></a>
|
||||
=======
|
||||
<a name="id712801"></a>
|
||||
=======
|
||||
<a name="id736139"></a>
|
||||
=======
|
||||
<a name="id724806"></a>
|
||||
=======
|
||||
<a name="id721529"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_set.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506942"></a>
|
||||
<a href="make_set.html#fusion.container.generation.metafunctions.make_set.example">Example</a>
|
||||
=======
|
||||
<a name="id759928"></a>
|
||||
=======
|
||||
<a name="id720567"></a>
|
||||
=======
|
||||
<a name="id712921"></a>
|
||||
=======
|
||||
<a name="id736259"></a>
|
||||
=======
|
||||
<a name="id724926"></a>
|
||||
=======
|
||||
<a name="id721649"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_set.html#fusion.container.generation.metafunctions.make_set.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_set</span><span class="special"><</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">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>make_vector</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="make_cons.html" title="make_cons">
|
||||
<link rel="next" href="make_set.html" title="make_set">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.make_vector.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id501039"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.description">Description</a>
|
||||
=======
|
||||
<a name="id752874"></a>
|
||||
=======
|
||||
<a name="id719281"></a>
|
||||
=======
|
||||
<a name="id711635"></a>
|
||||
=======
|
||||
<a name="id733950"></a>
|
||||
=======
|
||||
<a name="id722684"></a>
|
||||
=======
|
||||
<a name="id719408"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_vector.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id501087"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id752903"></a>
|
||||
=======
|
||||
<a name="id719310"></a>
|
||||
=======
|
||||
<a name="id711664"></a>
|
||||
=======
|
||||
<a name="id733979"></a>
|
||||
=======
|
||||
<a name="id722713"></a>
|
||||
=======
|
||||
<a name="id719436"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">make_vector</span><span class="special">;</span>
|
||||
@ -54,8 +112,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_vector.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id501291"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id753041"></a>
|
||||
=======
|
||||
<a name="id719448"></a>
|
||||
=======
|
||||
<a name="id711802"></a>
|
||||
=======
|
||||
<a name="id734117"></a>
|
||||
=======
|
||||
<a name="id722851"></a>
|
||||
=======
|
||||
<a name="id719574"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -89,8 +172,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.make_vector.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id501431"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id753147"></a>
|
||||
=======
|
||||
<a name="id719555"></a>
|
||||
=======
|
||||
<a name="id711909"></a>
|
||||
=======
|
||||
<a name="id734224"></a>
|
||||
=======
|
||||
<a name="id722958"></a>
|
||||
=======
|
||||
<a name="id719681"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span>
|
||||
@ -104,22 +212,72 @@
|
||||
<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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.make_vector.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id505889"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.header">Header</a>
|
||||
=======
|
||||
<a name="id753276"></a>
|
||||
=======
|
||||
<a name="id719683"></a>
|
||||
=======
|
||||
<a name="id712037"></a>
|
||||
=======
|
||||
<a name="id734352"></a>
|
||||
=======
|
||||
<a name="id723086"></a>
|
||||
=======
|
||||
<a name="id719810"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.make_vector.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id506056"></a>
|
||||
<a href="make_vector.html#fusion.container.generation.metafunctions.make_vector.example">Example</a>
|
||||
=======
|
||||
<a name="id753396"></a>
|
||||
=======
|
||||
<a name="id719803"></a>
|
||||
=======
|
||||
<a name="id712157"></a>
|
||||
=======
|
||||
<a name="id734472"></a>
|
||||
=======
|
||||
<a name="id723206"></a>
|
||||
=======
|
||||
<a name="id719930"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="make_vector.html#fusion.container.generation.metafunctions.make_vector.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">make_vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">(&)[</span><span class="number">7</span><span class="special">],</span> <span class="keyword">double</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>map_tie</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="vector_tie.html" title="vector_tie">
|
||||
<link rel="next" href="../../conversion.html" title="Conversion">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.map_tie.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509992"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.description">Description</a>
|
||||
=======
|
||||
<a name="id762073"></a>
|
||||
=======
|
||||
<a name="id724350"></a>
|
||||
=======
|
||||
<a name="id716704"></a>
|
||||
=======
|
||||
<a name="id739087"></a>
|
||||
=======
|
||||
<a name="id727753"></a>
|
||||
=======
|
||||
<a name="id724476"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.map_tie.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id510041"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id762104"></a>
|
||||
=======
|
||||
<a name="id724381"></a>
|
||||
=======
|
||||
<a name="id716735"></a>
|
||||
=======
|
||||
<a name="id739118"></a>
|
||||
=======
|
||||
<a name="id727784"></a>
|
||||
=======
|
||||
<a name="id724508"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">map_tie</span><span class="special">;</span>
|
||||
@ -54,8 +112,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.map_tie.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id510297"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id762284"></a>
|
||||
=======
|
||||
<a name="id724561"></a>
|
||||
=======
|
||||
<a name="id716915"></a>
|
||||
=======
|
||||
<a name="id739298"></a>
|
||||
=======
|
||||
<a name="id727964"></a>
|
||||
=======
|
||||
<a name="id724688"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -104,8 +187,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.map_tie.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id510508"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id762448"></a>
|
||||
=======
|
||||
<a name="id724724"></a>
|
||||
=======
|
||||
<a name="id717078"></a>
|
||||
=======
|
||||
<a name="id739461"></a>
|
||||
=======
|
||||
<a name="id728128"></a>
|
||||
=======
|
||||
<a name="id724851"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -119,15 +227,65 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Create a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a> of references from <tt class="computeroutput"><span class="identifier">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>
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.map_tie.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id510810"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.header">Header</a>
|
||||
=======
|
||||
<a name="id762652"></a>
|
||||
=======
|
||||
<a name="id724928"></a>
|
||||
=======
|
||||
<a name="id717282"></a>
|
||||
=======
|
||||
<a name="id739665"></a>
|
||||
=======
|
||||
<a name="id728332"></a>
|
||||
=======
|
||||
<a name="id725055"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.map_tie.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id510978"></a>
|
||||
<a href="map_tie.html#fusion.container.generation.metafunctions.map_tie.example">Example</a>
|
||||
=======
|
||||
<a name="id762772"></a>
|
||||
=======
|
||||
<a name="id725048"></a>
|
||||
=======
|
||||
<a name="id717402"></a>
|
||||
=======
|
||||
<a name="id739785"></a>
|
||||
=======
|
||||
<a name="id728452"></a>
|
||||
=======
|
||||
<a name="id725175"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="map_tie.html#fusion.container.generation.metafunctions.map_tie.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">int_key</span><span class="special">;</span>
|
||||
<span class="keyword">struct</span> <span class="identifier">double_key</span><span class="special">;</span>
|
||||
@ -137,7 +295,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>vector_tie</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../metafunctions.html" title="MetaFunctions">
|
||||
<link rel="previous" href="list_tie.html" title="list_tie">
|
||||
<link rel="next" href="map_tie.html" title="map_tie">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.generation.metafunctions.vector_tie.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509147"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.description">Description</a>
|
||||
=======
|
||||
<a name="id761481"></a>
|
||||
=======
|
||||
<a name="id722119"></a>
|
||||
=======
|
||||
<a name="id714474"></a>
|
||||
=======
|
||||
<a name="id737812"></a>
|
||||
=======
|
||||
<a name="id726478"></a>
|
||||
=======
|
||||
<a name="id723202"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.vector_tie.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509194"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id761510"></a>
|
||||
=======
|
||||
<a name="id722148"></a>
|
||||
=======
|
||||
<a name="id714502"></a>
|
||||
=======
|
||||
<a name="id737841"></a>
|
||||
=======
|
||||
<a name="id726507"></a>
|
||||
=======
|
||||
<a name="id723230"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</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">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">vector_tie</span><span class="special">;</span>
|
||||
@ -54,8 +112,33 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.vector_tie.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509397"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id761650"></a>
|
||||
=======
|
||||
<a name="id722289"></a>
|
||||
=======
|
||||
<a name="id714643"></a>
|
||||
=======
|
||||
<a name="id737981"></a>
|
||||
=======
|
||||
<a name="id726648"></a>
|
||||
=======
|
||||
<a name="id723371"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -89,8 +172,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.generation.metafunctions.vector_tie.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509537"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id761760"></a>
|
||||
=======
|
||||
<a name="id722398"></a>
|
||||
=======
|
||||
<a name="id714752"></a>
|
||||
=======
|
||||
<a name="id738091"></a>
|
||||
=======
|
||||
<a name="id727440"></a>
|
||||
=======
|
||||
<a name="id724163"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
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"><</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">>::</span><span class="identifier">type</span><span class="special">;</span>
|
||||
@ -103,22 +211,72 @@
|
||||
<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>.
|
||||
</p>
|
||||
<a name="fusion.container.generation.metafunctions.vector_tie.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509724"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.header">Header</a>
|
||||
=======
|
||||
<a name="id761886"></a>
|
||||
=======
|
||||
<a name="id724163"></a>
|
||||
=======
|
||||
<a name="id716517"></a>
|
||||
=======
|
||||
<a name="id738900"></a>
|
||||
=======
|
||||
<a name="id727566"></a>
|
||||
=======
|
||||
<a name="id724289"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.generation.metafunctions.vector_tie.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id509891"></a>
|
||||
<a href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.example">Example</a>
|
||||
=======
|
||||
<a name="id762006"></a>
|
||||
=======
|
||||
<a name="id724283"></a>
|
||||
=======
|
||||
<a name="id716637"></a>
|
||||
=======
|
||||
<a name="id739020"></a>
|
||||
=======
|
||||
<a name="id727686"></a>
|
||||
=======
|
||||
<a name="id724409"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="vector_tie.html#fusion.container.generation.metafunctions.vector_tie.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">vector_tie</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>list</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="cons.html" title="cons">
|
||||
@ -22,6 +26,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="cons.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="set.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
@ -33,6 +38,16 @@
|
||||
<a name="id483306"></a>
|
||||
<a href="list.html#fusion.container.list.description">Description</a>
|
||||
</h4>
|
||||
=======
|
||||
<div class="section" title="list">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.container.list"></a><a class="link" href="list.html" title="list">list</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.container.list.description"></a><h5>
|
||||
<a name="id688953"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.description">Description</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
<tt class="computeroutput"><span class="identifier">list</span></tt> is a <a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
@ -41,19 +56,33 @@
|
||||
when the target sequence is constructed piecemeal (a data at a time). The
|
||||
runtime cost of access to each element is peculiarly constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive Inlined Functions</a>).
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.list.header"></a><h4>
|
||||
<a name="id483401"></a>
|
||||
<a href="list.html#fusion.container.list.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.list.header"></a><h5>
|
||||
<a name="id689006"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">/</span><span class="identifier">list_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.list.synopsis"></a><h4>
|
||||
<a name="id483692"></a>
|
||||
<a href="list.html#fusion.container.list.synopsis">Synopsis</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.list.synopsis"></a><h5>
|
||||
<a name="id689212"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">T0</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></span>
|
||||
<span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></span>
|
||||
@ -78,10 +107,17 @@
|
||||
</p>
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.list.template_parameters"></a><h4>
|
||||
<a name="id484018"></a>
|
||||
<a href="list.html#fusion.container.list.template_parameters">Template parameters</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.list.template_parameters"></a><h5>
|
||||
<a name="id690538"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -111,6 +147,7 @@
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.list.model_of"></a><h4>
|
||||
<a name="id484136"></a>
|
||||
<a href="list.html#fusion.container.list.model_of">Model of</a>
|
||||
@ -118,6 +155,14 @@
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li></ul></div>
|
||||
<div class="variablelist">
|
||||
=======
|
||||
<a name="fusion.container.list.model_of"></a><h5>
|
||||
<a name="id690631"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a></li></ul></div>
|
||||
<div class="variablelist" title="Notation">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">L</span></tt></span></dt>
|
||||
@ -144,10 +189,17 @@
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.list.expression_semantics"></a><h4>
|
||||
<a name="id484349"></a>
|
||||
<a href="list.html#fusion.container.list.expression_semantics">Expression Semantics</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.list.expression_semantics"></a><h5>
|
||||
<a name="id690785"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Semantics of an expression is defined only where it differs from, or is not
|
||||
defined in <a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
@ -227,11 +279,20 @@
|
||||
Access Sequence">Random
|
||||
Access Sequence</a> requirement). The runtime complexity of <a href="../sequence/intrinsic/functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a> is constant (see <a href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive
|
||||
Inlined Functions</a>).
|
||||
<<<<<<< .working
|
||||
</p></div>
|
||||
<a name="fusion.container.list.example"></a><h4>
|
||||
<a name="id484925"></a>
|
||||
<a href="list.html#fusion.container.list.example">Example</a>
|
||||
</h4>
|
||||
=======
|
||||
</p>
|
||||
</div>
|
||||
<a name="fusion.container.list.example"></a><h5>
|
||||
<a name="id691189"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.example">Example</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">float</span><span class="special">></span> <span class="identifier">l</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="number">5.5f</span><span class="special">);</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">l</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">l</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>map</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="set.html" title="set">
|
||||
@ -22,6 +26,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="set.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="generation.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
@ -33,6 +38,16 @@
|
||||
<a name="id486951"></a>
|
||||
<a href="map.html#fusion.container.map.description">Description</a>
|
||||
</h4>
|
||||
=======
|
||||
<div class="section" title="map">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.container.map"></a><a class="link" href="map.html" title="map">map</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.container.map.description"></a><h5>
|
||||
<a name="id694005"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.description">Description</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
map is an <a href="../sequence/concepts/associative_sequence.html" title="Associative
|
||||
Sequence">Associative
|
||||
@ -43,19 +58,33 @@
|
||||
key. Membership testing and element key lookup has constant runtime complexity
|
||||
(see <a href="../notes.html#fusion.notes.overloaded_functions">Overloaded Functions</a>).
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.map.header"></a><h4>
|
||||
<a name="id487031"></a>
|
||||
<a href="map.html#fusion.container.map.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.map.header"></a><h5>
|
||||
<a name="id694048"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">map_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.map.synopsis"></a><h4>
|
||||
<a name="id487311"></a>
|
||||
<a href="map.html#fusion.container.map.synopsis">Synopsis</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.map.synopsis"></a><h5>
|
||||
<a name="id694247"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">T0</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></span>
|
||||
<span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></span>
|
||||
@ -80,10 +109,17 @@
|
||||
</p>
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_MAP_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.map.template_parameters"></a><h4>
|
||||
<a name="id487736"></a>
|
||||
<a href="map.html#fusion.container.map.template_parameters">Template parameters</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.map.template_parameters"></a><h5>
|
||||
<a name="id694546"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -113,6 +149,7 @@
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.map.model_of"></a><h4>
|
||||
<a name="id487853"></a>
|
||||
<a href="map.html#fusion.container.map.model_of">Model of</a>
|
||||
@ -120,6 +157,14 @@
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../sequence/concepts/associative_sequence.html" title="Associative
|
||||
Sequence">Associative
|
||||
=======
|
||||
<a name="fusion.container.map.model_of"></a><h5>
|
||||
<a name="id694640"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
||||
<li class="listitem"><a class="link" href="../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
>>>>>>> .merge-right.r57125
|
||||
Sequence</a></li>
|
||||
<li><a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li>
|
||||
@ -146,10 +191,17 @@
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.map.expression_semantics"></a><h4>
|
||||
<a name="id488074"></a>
|
||||
<a href="map.html#fusion.container.map.expression_semantics">Expression Semantics</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.map.expression_semantics"></a><h5>
|
||||
<a name="id694796"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Semantics of an expression is defined only where it differs from, or is not
|
||||
defined in <a href="../sequence/concepts/random_access_sequence.html" title="Random
|
||||
@ -213,10 +265,17 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.map.example"></a><h4>
|
||||
<a name="id488420"></a>
|
||||
<a href="map.html#fusion.container.map.example">Example</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.map.example"></a><h5>
|
||||
<a name="id695049"></a>
|
||||
<a class="link" href="map.html#fusion.container.map.example">Example</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">map</span><span class="special"><</span>
|
||||
<a href="../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span>
|
||||
<span class="special">,</span> <a href="../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="special">></span>
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>set</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="list.html" title="list">
|
||||
@ -22,6 +26,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="list.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="map.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
@ -33,6 +38,16 @@
|
||||
<a name="id485216"></a>
|
||||
<a href="set.html#fusion.container.set.description">Description</a>
|
||||
</h4>
|
||||
=======
|
||||
<div class="section" title="set">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.container.set"></a><a class="link" href="set.html" title="set">set</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.container.set.description"></a><h5>
|
||||
<a name="id691394"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.description">Description</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
set is an <a href="../sequence/concepts/associative_sequence.html" title="Associative
|
||||
Sequence">Associative
|
||||
@ -42,19 +57,33 @@
|
||||
element key lookup has constant runtime complexity (see <a href="../notes.html#fusion.notes.overloaded_functions">Overloaded
|
||||
Functions</a>).
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.set.header"></a><h4>
|
||||
<a name="id485264"></a>
|
||||
<a href="set.html#fusion.container.set.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.set.header"></a><h5>
|
||||
<a name="id691421"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">set_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">set_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.set.synopsis"></a><h4>
|
||||
<a name="id485545"></a>
|
||||
<a href="set.html#fusion.container.set.synopsis">Synopsis</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.set.synopsis"></a><h5>
|
||||
<a name="id691620"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">T0</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></span>
|
||||
<span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T1</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></span>
|
||||
@ -79,10 +108,17 @@
|
||||
</p>
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_SET_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.set.template_parameters"></a><h4>
|
||||
<a name="id485872"></a>
|
||||
<a href="set.html#fusion.container.set.template_parameters">Template parameters</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.set.template_parameters"></a><h5>
|
||||
<a name="id691853"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -112,6 +148,7 @@
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.set.model_of"></a><h4>
|
||||
<a name="id485989"></a>
|
||||
<a href="set.html#fusion.container.set.model_of">Model of</a>
|
||||
@ -119,6 +156,14 @@
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../sequence/concepts/associative_sequence.html" title="Associative
|
||||
Sequence">Associative
|
||||
=======
|
||||
<a name="fusion.container.set.model_of"></a><h5>
|
||||
<a name="id691946"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
||||
<li class="listitem"><a class="link" href="../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
>>>>>>> .merge-right.r57125
|
||||
Sequence</a></li>
|
||||
<li><a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li>
|
||||
@ -145,10 +190,17 @@
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.set.expression_semantics"></a><h4>
|
||||
<a name="id486183"></a>
|
||||
<a href="set.html#fusion.container.set.expression_semantics">Expression Semantics</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.set.expression_semantics"></a><h5>
|
||||
<a name="id692086"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Semantics of an expression is defined only where it differs from, or is not
|
||||
defined in <a href="../sequence/concepts/random_access_sequence.html" title="Random
|
||||
@ -212,10 +264,17 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.set.example"></a><h4>
|
||||
<a name="id486530"></a>
|
||||
<a href="set.html#fusion.container.set.example">Example</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.set.example"></a><h5>
|
||||
<a name="id692339"></a>
|
||||
<a class="link" href="set.html#fusion.container.set.example">Example</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">set</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">float</span><span class="special">></span> <span class="identifier">S</span><span class="special">;</span>
|
||||
<span class="identifier">S</span> <span class="identifier">s</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="number">5.5f</span><span class="special">);</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">at_key</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="identifier">s</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>vector</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="previous" href="../container.html" title="Container">
|
||||
@ -22,6 +26,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../container.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../container.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="cons.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
@ -33,6 +38,16 @@
|
||||
<a name="id478776"></a>
|
||||
<a href="vector.html#fusion.container.vector.description">Description</a>
|
||||
</h4>
|
||||
=======
|
||||
<div class="section" title="vector">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.container.vector"></a><a class="link" href="vector.html" title="vector">vector</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.container.vector.description"></a><h5>
|
||||
<a name="id685093"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.description">Description</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
<tt class="computeroutput"><span class="identifier">vector</span></tt> is a <a href="../sequence/concepts/random_access_sequence.html" title="Random
|
||||
Access Sequence">Random
|
||||
@ -42,10 +57,17 @@
|
||||
is the simplest of the Fusion sequence container, and in many cases the most
|
||||
efficient.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.vector.header"></a><h4>
|
||||
<a name="id478852"></a>
|
||||
<a href="vector.html#fusion.container.vector.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.vector.header"></a><h5>
|
||||
<a name="id685139"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">vector_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
@ -63,10 +85,17 @@
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">/</span><span class="identifier">vector50</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</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">vector50</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.vector.synopsis"></a><h4>
|
||||
<a name="id479828"></a>
|
||||
<a href="vector.html#fusion.container.vector.synopsis">Synopsis</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.vector.synopsis"></a><h5>
|
||||
<a name="id685841"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
<span class="bold"><b>Numbered forms</b></span>
|
||||
</p>
|
||||
@ -118,10 +147,17 @@
|
||||
</p>
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_VECTOR_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.vector.template_parameters"></a><h4>
|
||||
<a name="id480553"></a>
|
||||
<a href="vector.html#fusion.container.vector.template_parameters">Template parameters</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.vector.template_parameters"></a><h5>
|
||||
<a name="id686370"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -151,12 +187,20 @@
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.vector.model_of"></a><h4>
|
||||
<a name="id480672"></a>
|
||||
<a href="vector.html#fusion.container.vector.model_of">Model of</a>
|
||||
</h4>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/random_access_sequence.html" title="Random
|
||||
Access Sequence">Random
|
||||
=======
|
||||
<a name="fusion.container.vector.model_of"></a><h5>
|
||||
<a name="id687078"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
|
||||
>>>>>>> .merge-right.r57125
|
||||
Access Sequence</a></li></ul></div>
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
@ -180,10 +224,17 @@
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.vector.expression_semantics"></a><h4>
|
||||
<a name="id480855"></a>
|
||||
<a href="vector.html#fusion.container.vector.expression_semantics">Expression Semantics</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.vector.expression_semantics"></a><h5>
|
||||
<a name="id687209"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Semantics of an expression is defined only where it differs from, or is not
|
||||
defined in <a href="../sequence/concepts/random_access_sequence.html" title="Random
|
||||
@ -245,10 +296,17 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.container.vector.example"></a><h4>
|
||||
<a name="id481192"></a>
|
||||
<a href="vector.html#fusion.container.vector.example">Example</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.container.vector.example"></a><h5>
|
||||
<a name="id687458"></a>
|
||||
<a class="link" href="vector.html#fusion.container.vector.example">Example</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="identifier">vector</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">float</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="number">5.5f</span><span class="special">);</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">0</span><span class="special">>(</span><span class="identifier">v</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../sequence/intrinsic/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">v</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
|
Reference in New Issue
Block a user