forked from boostorg/fusion
documentation update
[SVN r61187]
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>Functions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../intrinsic.html" title="Intrinsic">
|
||||
<link rel="prev" href="../intrinsic.html" title="Intrinsic">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>at</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="size.html" title="size">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.at"></a><a class="link" href="at.html" title="at">at</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.at.description"></a><h6>
|
||||
<a name="id609258"></a>
|
||||
<a name="id708894"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the N-th element from the beginning of the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.at.synopsis"></a><h6>
|
||||
<a name="id609275"></a>
|
||||
<a name="id708911"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">at</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.sequence.intrinsic.functions.at.parameters"></a><h6>
|
||||
<a name="id611352"></a>
|
||||
<a name="id709144"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,62 +57,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
|
||||
Access Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
|
||||
Access Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An index from the beginning of the sequence.
|
||||
</p>
|
||||
<p>
|
||||
An index from the beginning of the sequence.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.at.expression_semantics"></a><h6>
|
||||
<a name="id611476"></a>
|
||||
<a name="id709276"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -138,14 +138,14 @@
|
||||
<pre class="programlisting"><a class="link" href="../../../iterator/functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="../../../iterator/functions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><a class="link" href="begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">s</span><span class="special">)))</span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.at.header"></a><h6>
|
||||
<a name="id611686"></a>
|
||||
<a name="id709486"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at</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">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.at.example"></a><h6>
|
||||
<a name="id611802"></a>
|
||||
<a name="id709601"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>at_c</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="at.html" title="at">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.at_c"></a><a class="link" href="at_c.html" title="at_c">at_c</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_c.description"></a><h6>
|
||||
<a name="id611961"></a>
|
||||
<a name="id709761"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the N-th element from the beginning of the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_c.synopsis"></a><h6>
|
||||
<a name="id611978"></a>
|
||||
<a name="id709778"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">int</span> <span class="identifier">N</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">at_c</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.sequence.intrinsic.functions.at_c.parameters"></a><h6>
|
||||
<a name="id612211"></a>
|
||||
<a name="id710010"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,61 +57,61 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
|
||||
Access Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
|
||||
Access Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An integral constant
|
||||
</p>
|
||||
<p>
|
||||
An integral constant
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An index from the beginning of the sequence.
|
||||
</p>
|
||||
<p>
|
||||
An index from the beginning of the sequence.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_c.expression_semantics"></a><h6>
|
||||
<a name="id612332"></a>
|
||||
<a name="id710138"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -138,14 +138,14 @@
|
||||
<pre class="programlisting"><a class="link" href="../../../iterator/functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="../../../iterator/functions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><a class="link" href="begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">s</span><span class="special">)))</span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_c.header"></a><h6>
|
||||
<a name="id612535"></a>
|
||||
<a name="id710340"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at_c</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">at_c</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_c.example"></a><h6>
|
||||
<a name="id612650"></a>
|
||||
<a name="id710456"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>at_key</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="has_key.html" title="has_key">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.at_key"></a><a class="link" href="at_key.html" title="at_key">at_key</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_key.description"></a><h6>
|
||||
<a name="id613407"></a>
|
||||
<a name="id712448"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the element associated with a Key from the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_key.synopsis"></a><h6>
|
||||
<a name="id613423"></a>
|
||||
<a name="id712465"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Key</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">at_key</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.sequence.intrinsic.functions.at_key.parameters"></a><h6>
|
||||
<a name="id613656"></a>
|
||||
<a name="id712698"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,61 +57,61 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The queried key.
|
||||
</p>
|
||||
<p>
|
||||
The queried key.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_key.expression_semantics"></a><h6>
|
||||
<a name="id613777"></a>
|
||||
<a name="id712826"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -134,14 +134,14 @@
|
||||
with Key.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_key.header"></a><h6>
|
||||
<a name="id613918"></a>
|
||||
<a name="id712967"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at_key</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">at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.at_key.example"></a><h6>
|
||||
<a name="id614033"></a>
|
||||
<a name="id713082"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/set.html" title="set"><code class="computeroutput"><span class="identifier">set</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">bool</span><span class="special">></span> <span class="identifier">s</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'x'</span><span class="special">,</span> <span class="keyword">true</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>back</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="front.html" title="front">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.back"></a><a class="link" href="back.html" title="back">back</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.back.description"></a><h6>
|
||||
<a name="id608058"></a>
|
||||
<a name="id707138"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the last element in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.back.synopsis"></a><h6>
|
||||
<a name="id608075"></a>
|
||||
<a name="id707155"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.synopsis">Synopsis</a>
|
||||
</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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">back</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.sequence.intrinsic.functions.back.parameters"></a><h6>
|
||||
<a name="id608265"></a>
|
||||
<a name="id707345"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,42 +57,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.back.expression_semantics"></a><h6>
|
||||
<a name="id608355"></a>
|
||||
<a name="id707439"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -115,14 +115,14 @@
|
||||
in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.back.header"></a><h6>
|
||||
<a name="id608486"></a>
|
||||
<a name="id707570"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">back</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">back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.back.example"></a><h6>
|
||||
<a name="id608601"></a>
|
||||
<a name="id707685"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>begin</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="../functions.html" title="Functions">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.begin"></a><a class="link" href="begin.html" title="begin">begin</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.begin.description"></a><h6>
|
||||
<a name="id603735"></a>
|
||||
<a name="id702659"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns an iterator pointing to the first element in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.begin.synopsis"></a><h6>
|
||||
<a name="id603752"></a>
|
||||
<a name="id702676"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.synopsis">Synopsis</a>
|
||||
</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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">begin</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.sequence.intrinsic.functions.begin.parameters"></a><h6>
|
||||
<a name="id603942"></a>
|
||||
<a name="id702866"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,42 +57,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to get an iterator from.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to get an iterator from.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.begin.expression_semantics"></a><h6>
|
||||
<a name="id604032"></a>
|
||||
<a name="id702960"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -126,14 +126,14 @@
|
||||
to the first element in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.begin.header"></a><h6>
|
||||
<a name="id604161"></a>
|
||||
<a name="id703090"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">begin</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">begin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.begin.example"></a><h6>
|
||||
<a name="id604276"></a>
|
||||
<a name="id703205"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>empty</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="end.html" title="end">
|
||||
@ -27,7 +27,7 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.empty"></a><a class="link" href="empty.html" title="empty">empty</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.description"></a><h6>
|
||||
<a name="id605120"></a>
|
||||
<a name="id705897"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -36,7 +36,7 @@
|
||||
the sequence is empty, else, evaluates to <code class="computeroutput"><span class="keyword">false</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.synopsis"></a><h6>
|
||||
<a name="id605160"></a>
|
||||
<a name="id705937"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.synopsis">Synopsis</a>
|
||||
</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>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="identifier">empty</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.sequence.intrinsic.functions.empty.parameters"></a><h6>
|
||||
<a name="id605263"></a>
|
||||
<a name="id706040"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -55,42 +55,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.expression_semantics"></a><h6>
|
||||
<a name="id605353"></a>
|
||||
<a name="id706135"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -104,14 +104,14 @@
|
||||
to <code class="computeroutput"><span class="keyword">false</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.header"></a><h6>
|
||||
<a name="id605427"></a>
|
||||
<a name="id706209"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">empty</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">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.empty.example"></a><h6>
|
||||
<a name="id607250"></a>
|
||||
<a name="id706325"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>end</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="begin.html" title="begin">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.end"></a><a class="link" href="end.html" title="end">end</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.end.description"></a><h6>
|
||||
<a name="id604422"></a>
|
||||
<a name="id703350"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns an iterator pointing to one element past the end of the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.end.synopsis"></a><h6>
|
||||
<a name="id604438"></a>
|
||||
<a name="id703367"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.synopsis">Synopsis</a>
|
||||
</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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">end</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.sequence.intrinsic.functions.end.parameters"></a><h6>
|
||||
<a name="id604628"></a>
|
||||
<a name="id703557"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,42 +57,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to get an iterator from.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to get an iterator from.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.end.expression_semantics"></a><h6>
|
||||
<a name="id604718"></a>
|
||||
<a name="id703652"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -126,14 +126,14 @@
|
||||
to one element past the end of the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.end.header"></a><h6>
|
||||
<a name="id604848"></a>
|
||||
<a name="id703781"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">end</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">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.end.example"></a><h6>
|
||||
<a name="id604963"></a>
|
||||
<a name="id705740"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>front</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="empty.html" title="empty">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.front"></a><a class="link" href="front.html" title="front">front</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.front.description"></a><h6>
|
||||
<a name="id607383"></a>
|
||||
<a name="id706458"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the first element in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.front.synopsis"></a><h6>
|
||||
<a name="id607400"></a>
|
||||
<a name="id706475"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.synopsis">Synopsis</a>
|
||||
</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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">front</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.sequence.intrinsic.functions.front.parameters"></a><h6>
|
||||
<a name="id607589"></a>
|
||||
<a name="id706664"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -57,42 +57,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.front.expression_semantics"></a><h6>
|
||||
<a name="id607679"></a>
|
||||
<a name="id706759"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -115,14 +115,14 @@
|
||||
in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.front.header"></a><h6>
|
||||
<a name="id607810"></a>
|
||||
<a name="id706890"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">front</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">front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.front.example"></a><h6>
|
||||
<a name="id607925"></a>
|
||||
<a name="id707005"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>has_key</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="at_c.html" title="at_c">
|
||||
@ -27,7 +27,7 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.has_key"></a><a class="link" href="has_key.html" title="has_key">has_key</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.has_key.description"></a><h6>
|
||||
<a name="id612790"></a>
|
||||
<a name="id710596"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -37,7 +37,7 @@
|
||||
to <code class="computeroutput"><span class="keyword">false</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.has_key.synopsis"></a><h6>
|
||||
<a name="id612829"></a>
|
||||
<a name="id710634"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Key</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="identifier">has_key</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.sequence.intrinsic.functions.has_key.parameters"></a><h6>
|
||||
<a name="id612954"></a>
|
||||
<a name="id711989"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -56,61 +56,61 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The queried key.
|
||||
</p>
|
||||
<p>
|
||||
The queried key.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.has_key.expression_semantics"></a><h6>
|
||||
<a name="id613072"></a>
|
||||
<a name="id712115"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -124,14 +124,14 @@
|
||||
associated with Key, else, evaluates to <code class="computeroutput"><span class="keyword">false</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.has_key.header"></a><h6>
|
||||
<a name="id613150"></a>
|
||||
<a name="id712193"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">has_key</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">has_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.has_key.example"></a><h6>
|
||||
<a name="id613266"></a>
|
||||
<a name="id712308"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/set.html" title="set"><code class="computeroutput"><span class="identifier">set</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">bool</span><span class="special">></span> <span class="identifier">s</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'x'</span><span class="special">,</span> <span class="keyword">true</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>size</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="back.html" title="back">
|
||||
@ -27,7 +27,7 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.size"></a><a class="link" href="size.html" title="size">size</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.size.description"></a><h6>
|
||||
<a name="id608734"></a>
|
||||
<a name="id707819"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -35,7 +35,7 @@
|
||||
that evaluates the number of elements in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.size.synopsis"></a><h6>
|
||||
<a name="id608758"></a>
|
||||
<a name="id707843"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.synopsis">Synopsis</a>
|
||||
</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>
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="identifier">size</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.sequence.intrinsic.functions.size.parameters"></a><h6>
|
||||
<a name="id608861"></a>
|
||||
<a name="id708492"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -54,42 +54,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
<p>
|
||||
The sequence we wish to investigate.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.size.expression_semantics"></a><h6>
|
||||
<a name="id608951"></a>
|
||||
<a name="id708587"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -103,14 +103,14 @@
|
||||
in the sequence.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.size.header"></a><h6>
|
||||
<a name="id609010"></a>
|
||||
<a name="id708646"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">size</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">size</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.size.example"></a><h6>
|
||||
<a name="id609125"></a>
|
||||
<a name="id708761"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">2</span><span class="special">,</span> <span class="number">3</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>swap</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="at_key.html" title="at_key">
|
||||
@ -27,21 +27,21 @@
|
||||
<a name="fusion.sequence.intrinsic.functions.swap"></a><a class="link" href="swap.html" title="swap">swap</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.swap.description"></a><h6>
|
||||
<a name="id614173"></a>
|
||||
<a name="id713222"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Performs an element by element swap of the elements in 2 sequences.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.swap.synopsis"></a><h6>
|
||||
<a name="id614190"></a>
|
||||
<a name="id713239"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Seq2</span><span class="special">></span>
|
||||
<span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span><span class="identifier">Seq1</span><span class="special">&</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Seq2</span><span class="special">&</span> <span class="identifier">seq2</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.functions.swap.parameters"></a><h6>
|
||||
<a name="id614286"></a>
|
||||
<a name="id713335"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -52,42 +52,42 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameters
|
||||
</p>
|
||||
<p>
|
||||
Parameters
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq1</span></code>, <code class="computeroutput"><span class="identifier">seq2</span></code>
|
||||
</p>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">seq1</span></code>, <code class="computeroutput"><span class="identifier">seq2</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Models of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
<p>
|
||||
Models of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequences whos elements we wish to swap.
|
||||
</p>
|
||||
<p>
|
||||
The sequences whos elements we wish to swap.
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.intrinsic.functions.swap.expression_semantics"></a><h6>
|
||||
<a name="id614383"></a>
|
||||
<a name="id713437"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -106,7 +106,7 @@
|
||||
/sequence/intrinsic/swap.hpp>
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.functions.swap.example"></a><h6>
|
||||
<a name="id614551"></a>
|
||||
<a name="id713605"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a class="link" href="../../../container/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="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">v1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">),</span> <span class="identifier">v2</span><span class="special">(</span><span class="number">2</span><span class="special">,</span> <span class="string">"world"</span><span class="special">);</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>Metafunctions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../intrinsic.html" title="Intrinsic">
|
||||
<link rel="prev" href="functions/swap.html" title="swap">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>at</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="size.html" title="size">
|
||||
@ -27,16 +27,16 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at"></a><a class="link" href="at.html" title="at">at</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at.description"></a><h6>
|
||||
<a name="id619502"></a>
|
||||
<a name="id718592"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>
|
||||
<sup>[<a name="id619524" href="#ftn.id619524" class="footnote">6</a>]</sup>
|
||||
<sup>[<a name="id718614" href="#ftn.id718614" class="footnote">6</a>]</sup>
|
||||
.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at.synopsis"></a><h6>
|
||||
<a name="id619594"></a>
|
||||
<a name="id718683"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id619678"></a><p class="title"><b>Table 1.29. Parameters</b></p>
|
||||
<a name="id718767"></a><p class="title"><b>Table 1.29. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -57,63 +57,63 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at.expression_semantics"></a><h6>
|
||||
<a name="id619796"></a>
|
||||
<a name="id718896"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -127,14 +127,14 @@
|
||||
using <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a> to access the <code class="computeroutput"><span class="identifier">N</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at.header"></a><h6>
|
||||
<a name="id619891"></a>
|
||||
<a name="id718990"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at</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">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at.example"></a><h6>
|
||||
<a name="id620006"></a>
|
||||
<a name="id719106"></a>
|
||||
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
|
||||
@ -142,7 +142,7 @@
|
||||
</pre>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id619524" href="#id619524" class="para">6</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id718614" href="#id718614" class="para">6</a>] </sup>
|
||||
<a class="link" href="at.html" title="at"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></code></a> reflects the actual return
|
||||
type of the function <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>. <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>(s)
|
||||
typically return references to its elements via the <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a> function. If you want
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>at_c</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="at.html" title="at">
|
||||
@ -27,16 +27,16 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_c"></a><a class="link" href="at_c.html" title="at_c">at_c</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_c.description"></a><h6>
|
||||
<a name="id620184"></a>
|
||||
<a name="id719283"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a>
|
||||
<sup>[<a name="id620208" href="#ftn.id620208" class="footnote">7</a>]</sup>
|
||||
<sup>[<a name="id719307" href="#ftn.id719307" class="footnote">7</a>]</sup>
|
||||
.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_c.synopsis"></a><h6>
|
||||
<a name="id620278"></a>
|
||||
<a name="id719377"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id620362"></a><p class="title"><b>Table 1.30. Parameters</b></p>
|
||||
<a name="id719461"></a><p class="title"><b>Table 1.30. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -57,62 +57,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">M</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">M</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Positive integer index
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Positive integer index
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics"></a><h6>
|
||||
<a name="id620474"></a>
|
||||
<a name="id719582"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -126,14 +126,14 @@
|
||||
using <a class="link" href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a> to access the <code class="computeroutput"><span class="identifier">M</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_c.header"></a><h6>
|
||||
<a name="id620567"></a>
|
||||
<a name="id720289"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at</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">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_c.example"></a><h6>
|
||||
<a name="id620682"></a>
|
||||
<a name="id720405"></a>
|
||||
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
|
||||
@ -141,7 +141,7 @@
|
||||
</pre>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id620208" href="#id620208" class="para">7</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id719307" href="#id719307" class="para">7</a>] </sup>
|
||||
<a class="link" href="at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span></code></a> reflects the actual
|
||||
return type of the function <a class="link" href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a>. <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>(s)
|
||||
typically return references to its elements via the <a class="link" href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a> function. If you want
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>at_key</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="has_key.html" title="has_key">
|
||||
@ -27,16 +27,16 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_key"></a><a class="link" href="at_key.html" title="at_key">at_key</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_key.description"></a><h6>
|
||||
<a name="id624499"></a>
|
||||
<a name="id724248"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/at_key.html" title="at_key"><code class="computeroutput"><span class="identifier">at_key</span></code></a>
|
||||
<sup>[<a name="id624523" href="#ftn.id624523" class="footnote">8</a>]</sup>
|
||||
<sup>[<a name="id724272" href="#ftn.id724272" class="footnote">8</a>]</sup>
|
||||
.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_key.synopsis"></a><h6>
|
||||
<a name="id624592"></a>
|
||||
<a name="id724341"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id624676"></a><p class="title"><b>Table 1.34. Parameters</b></p>
|
||||
<a name="id724425"></a><p class="title"><b>Table 1.34. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -57,62 +57,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Key type
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Key type
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics"></a><h6>
|
||||
<a name="id624788"></a>
|
||||
<a name="id724545"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -128,14 +128,14 @@
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_key.header"></a><h6>
|
||||
<a name="id624880"></a>
|
||||
<a name="id724638"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at_key</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">at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.at_key.example"></a><h6>
|
||||
<a name="id624996"></a>
|
||||
<a name="id724753"></a>
|
||||
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</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> <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">>,</span> <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="special">></span> <span class="identifier">mymap</span><span class="special">;</span>
|
||||
@ -143,7 +143,7 @@
|
||||
</pre>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id624523" href="#id624523" class="para">8</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id724272" href="#id724272" class="para">8</a>] </sup>
|
||||
<a class="link" href="at_key.html" title="at_key"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></code></a> reflects the actual
|
||||
return type of the function <a class="link" href="../functions/at_key.html" title="at_key"><code class="computeroutput"><span class="identifier">at_key</span></code></a>. <span class="underline">_sequence</span>_s
|
||||
typically return references to its elements via the <a class="link" href="../functions/at_key.html" title="at_key"><code class="computeroutput"><span class="identifier">at_key</span></code></a> function. If you
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>back</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="front.html" title="front">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.back"></a><a class="link" href="back.html" title="back">back</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.back.description"></a><h6>
|
||||
<a name="id618402"></a>
|
||||
<a name="id716250"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/back.html" title="back"><code class="computeroutput"><span class="identifier">back</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.back.synopsis"></a><h6>
|
||||
<a name="id618430"></a>
|
||||
<a name="id717508"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id618500"></a><p class="title"><b>Table 1.27. Parameters</b></p>
|
||||
<a name="id717578"></a><p class="title"><b>Table 1.27. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.back.expression_semantics"></a><h6>
|
||||
<a name="id618582"></a>
|
||||
<a name="id717666"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -103,14 +103,14 @@
|
||||
an iterator to the last element in the sequence. Equivalent to <code class="computeroutput"><a class="link" href="../../../iterator/metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><a class="link" href="../../../iterator/metafunctions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special"><</span><a class="link" href="end.html" title="end"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></code></a><span class="special"><</span><span class="identifier">Seq</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.back.header"></a><h6>
|
||||
<a name="id618728"></a>
|
||||
<a name="id717812"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">back</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">back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.back.example"></a><h6>
|
||||
<a name="id618843"></a>
|
||||
<a name="id717927"></a>
|
||||
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>begin</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="../metafunctions.html" title="Metafunctions">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.begin"></a><a class="link" href="begin.html" title="begin">begin</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.begin.description"></a><h6>
|
||||
<a name="id614791"></a>
|
||||
<a name="id713845"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.begin.synopsis"></a><h6>
|
||||
<a name="id614820"></a>
|
||||
<a name="id713874"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id614890"></a><p class="title"><b>Table 1.23. Parameters</b></p>
|
||||
<a name="id713943"></a><p class="title"><b>Table 1.23. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.begin.expression_semantics"></a><h6>
|
||||
<a name="id614971"></a>
|
||||
<a name="id714031"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -123,14 +123,14 @@
|
||||
to the first element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.begin.header"></a><h6>
|
||||
<a name="id615117"></a>
|
||||
<a name="id714177"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">begin</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">begin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.begin.example"></a><h6>
|
||||
<a name="id615232"></a>
|
||||
<a name="id714292"></a>
|
||||
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>empty</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="end.html" title="end">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.empty"></a><a class="link" href="empty.html" title="empty">empty</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.empty.description"></a><h6>
|
||||
<a name="id617274"></a>
|
||||
<a name="id715110"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/empty.html" title="empty"><code class="computeroutput"><span class="identifier">empty</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.empty.synopsis"></a><h6>
|
||||
<a name="id617302"></a>
|
||||
<a name="id715139"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id617372"></a><p class="title"><b>Table 1.25. Parameters</b></p>
|
||||
<a name="id715209"></a><p class="title"><b>Table 1.25. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.empty.expression_semantics"></a><h6>
|
||||
<a name="id617454"></a>
|
||||
<a name="id715296"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -105,14 +105,14 @@
|
||||
<code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code> otherwise.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.empty.header"></a><h6>
|
||||
<a name="id617554"></a>
|
||||
<a name="id715397"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">empty</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">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.empty.example"></a><h6>
|
||||
<a name="id617670"></a>
|
||||
<a name="id715512"></a>
|
||||
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><></span> <span class="identifier">empty_vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>end</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="begin.html" title="begin">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.end"></a><a class="link" href="end.html" title="end">end</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.end.description"></a><h6>
|
||||
<a name="id615402"></a>
|
||||
<a name="id714462"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/end.html" title="end"><code class="computeroutput"><span class="identifier">end</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.end.synopsis"></a><h6>
|
||||
<a name="id615429"></a>
|
||||
<a name="id714489"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id615498"></a><p class="title"><b>Table 1.24. Parameters</b></p>
|
||||
<a name="id714558"></a><p class="title"><b>Table 1.24. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.end.expression_semantics"></a><h6>
|
||||
<a name="id616809"></a>
|
||||
<a name="id714646"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -123,14 +123,14 @@
|
||||
one past the end of <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.end.header"></a><h6>
|
||||
<a name="id616954"></a>
|
||||
<a name="id714791"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">end</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">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.end.example"></a><h6>
|
||||
<a name="id617070"></a>
|
||||
<a name="id714906"></a>
|
||||
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>front</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="empty.html" title="empty">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.front"></a><a class="link" href="front.html" title="front">front</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.front.description"></a><h6>
|
||||
<a name="id617844"></a>
|
||||
<a name="id715686"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/front.html" title="front"><code class="computeroutput"><span class="identifier">front</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.front.synopsis"></a><h6>
|
||||
<a name="id617872"></a>
|
||||
<a name="id715715"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id617942"></a><p class="title"><b>Table 1.26. Parameters</b></p>
|
||||
<a name="id715785"></a><p class="title"><b>Table 1.26. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.front.expression_semantics"></a><h6>
|
||||
<a name="id618024"></a>
|
||||
<a name="id715872"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -104,14 +104,14 @@
|
||||
Equivalent to <code class="computeroutput"><a class="link" href="../../../iterator/metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><a class="link" href="begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">Seq</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.front.header"></a><h6>
|
||||
<a name="id618151"></a>
|
||||
<a name="id716000"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">front</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">front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.front.example"></a><h6>
|
||||
<a name="id618266"></a>
|
||||
<a name="id716115"></a>
|
||||
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>has_key</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="value_at_c.html" title="value_at_c">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.has_key"></a><a class="link" href="has_key.html" title="has_key">has_key</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.has_key.description"></a><h6>
|
||||
<a name="id623805"></a>
|
||||
<a name="id721770"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/has_key.html" title="has_key"><code class="computeroutput"><span class="identifier">has_key</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.has_key.synopsis"></a><h6>
|
||||
<a name="id623836"></a>
|
||||
<a name="id721801"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id623923"></a><p class="title"><b>Table 1.33. Parameters</b></p>
|
||||
<a name="id721888"></a><p class="title"><b>Table 1.33. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -55,62 +55,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Key type
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Key type
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics"></a><h6>
|
||||
<a name="id624034"></a>
|
||||
<a name="id722008"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -127,14 +127,14 @@
|
||||
<code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code> otherwise.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.has_key.header"></a><h6>
|
||||
<a name="id624151"></a>
|
||||
<a name="id722124"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">has_key</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">has_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.has_key.example"></a><h6>
|
||||
<a name="id624266"></a>
|
||||
<a name="id722239"></a>
|
||||
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</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> <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">>,</span> <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="special">></span> <span class="identifier">mymap</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>size</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="back.html" title="back">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.size"></a><a class="link" href="size.html" title="size">size</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.size.description"></a><h6>
|
||||
<a name="id618979"></a>
|
||||
<a name="id718063"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a class="link" href="../functions/size.html" title="size"><code class="computeroutput"><span class="identifier">size</span></code></a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.size.synopsis"></a><h6>
|
||||
<a name="id619008"></a>
|
||||
<a name="id718092"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id619078"></a><p class="title"><b>Table 1.28. Parameters</b></p>
|
||||
<a name="id718161"></a><p class="title"><b>Table 1.28. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.size.expression_semantics"></a><h6>
|
||||
<a name="id619159"></a>
|
||||
<a name="id718249"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -104,14 +104,14 @@
|
||||
in <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.size.header"></a><h6>
|
||||
<a name="id619231"></a>
|
||||
<a name="id718321"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">size</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">size</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.size.example"></a><h6>
|
||||
<a name="id619346"></a>
|
||||
<a name="id718436"></a>
|
||||
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>swap</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="value_at_key.html" title="value_at_key">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.swap"></a><a class="link" href="swap.html" title="swap">swap</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.swap.description"></a><h6>
|
||||
<a name="id626477"></a>
|
||||
<a name="id725628"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the return type of swap.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.swap.synopsis"></a><h6>
|
||||
<a name="id626497"></a>
|
||||
<a name="id725648"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Seq1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Seq2</span><span class="special">></span>
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id626581"></a><p class="title"><b>Table 1.36. Parameters</b></p>
|
||||
<a name="id725732"></a><p class="title"><b>Table 1.36. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -53,43 +53,43 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameters
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameters
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq1</span></code>, <code class="computeroutput"><span class="identifier">Seq2</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq1</span></code>, <code class="computeroutput"><span class="identifier">Seq2</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Models of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Models of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The sequences being swapped
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
The sequences being swapped
|
||||
</p>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.swap.expression_semantics"></a><h6>
|
||||
<a name="id626671"></a>
|
||||
<a name="id725826"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -102,7 +102,7 @@
|
||||
<span class="bold"><strong>Semantics</strong></span>: Always returns <code class="computeroutput"><span class="keyword">void</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.swap.header"></a><h6>
|
||||
<a name="id626754"></a>
|
||||
<a name="id725908"></a>
|
||||
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">swap</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>value_at</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="at_c.html" title="at_c">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at"></a><a class="link" href="value_at.html" title="value_at">value_at</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at.description"></a><h6>
|
||||
<a name="id620833"></a>
|
||||
<a name="id720556"></a>
|
||||
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the actual type at a given index from the <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at.synopsis"></a><h6>
|
||||
<a name="id620861"></a>
|
||||
<a name="id720583"></a>
|
||||
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id620947"></a><p class="title"><b>Table 1.31. Parameters</b></p>
|
||||
<a name="id720670"></a><p class="title"><b>Table 1.31. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -55,63 +55,63 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">N</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
|
||||
Integral Constant</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics"></a><h6>
|
||||
<a name="id621064"></a>
|
||||
<a name="id720796"></a>
|
||||
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -125,14 +125,14 @@
|
||||
the <code class="computeroutput"><span class="identifier">N</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at.header"></a><h6>
|
||||
<a name="id621146"></a>
|
||||
<a name="id720879"></a>
|
||||
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">value_at</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">value_at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at.example"></a><h6>
|
||||
<a name="id623040"></a>
|
||||
<a name="id720996"></a>
|
||||
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>value_at_c</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="value_at.html" title="value_at">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c"></a><a class="link" href="value_at_c.html" title="value_at_c">value_at_c</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.description"></a><h6>
|
||||
<a name="id623220"></a>
|
||||
<a name="id721176"></a>
|
||||
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the actual type at a given index from the <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis"></a><h6>
|
||||
<a name="id623247"></a>
|
||||
<a name="id721204"></a>
|
||||
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id623334"></a><p class="title"><b>Table 1.32. Parameters</b></p>
|
||||
<a name="id721290"></a><p class="title"><b>Table 1.32. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -55,62 +55,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">M</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">M</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Positive integer index
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Positive integer index
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Index of element
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics"></a><h6>
|
||||
<a name="id623446"></a>
|
||||
<a name="id721411"></a>
|
||||
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -124,14 +124,14 @@
|
||||
the <code class="computeroutput"><span class="identifier">M</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.header"></a><h6>
|
||||
<a name="id623532"></a>
|
||||
<a name="id721497"></a>
|
||||
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">value_at</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">value_at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.example"></a><h6>
|
||||
<a name="id623652"></a>
|
||||
<a name="id721617"></a>
|
||||
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/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">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>value_at_key</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="at_key.html" title="at_key">
|
||||
@ -27,14 +27,14 @@
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key"></a><a class="link" href="value_at_key.html" title="value_at_key">value_at_key</a>
|
||||
</h5></div></div></div>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.description"></a><h6>
|
||||
<a name="id625828"></a>
|
||||
<a name="id724970"></a>
|
||||
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the actual element type associated with a Key from the <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis"></a><h6>
|
||||
<a name="id625852"></a>
|
||||
<a name="id724994"></a>
|
||||
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id625938"></a><p class="title"><b>Table 1.35. Parameters</b></p>
|
||||
<a name="id725080"></a><p class="title"><b>Table 1.35. Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -55,62 +55,62 @@
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Seq</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
A model of <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Argument sequence
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Key</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Any type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Key type
|
||||
</p>
|
||||
</td>
|
||||
<p>
|
||||
Key type
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics"></a><h6>
|
||||
<a name="id626050"></a>
|
||||
<a name="id725200"></a>
|
||||
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -125,14 +125,14 @@
|
||||
in <code class="computeroutput"><span class="identifier">Seq</span></code>.
|
||||
</p>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.header"></a><h6>
|
||||
<a name="id626135"></a>
|
||||
<a name="id725286"></a>
|
||||
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.header">Header</a>
|
||||
</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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">value_at_key</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">value_at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.example"></a><h6>
|
||||
<a name="id626255"></a>
|
||||
<a name="id725406"></a>
|
||||
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</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> <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">>,</span> <a class="link" href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="special">></span> <span class="identifier">mymap</span><span class="special">;</span>
|
||||
|
Reference in New Issue
Block a user