fusion: merge of associative iterators/views and the new fold interface

[SVN r58618]
This commit is contained in:
Christopher Schmidt committed 2010-01-01 22:00:21 +00:00
1 parent b605617c4f
commit cda74605fc
379 files changed
+28481 -2185

No files matched your search

@@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Functions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../intrinsic.html" title="Intrinsic">
<link rel="previous" href="../intrinsic.html" title="Intrinsic">
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>at</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="size.html" title="size">
<link rel="next" href="at_c.html" title="at_c">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.at.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454767"></a>
<a href="at.html#fusion.sequence.intrinsic.functions.at.description">Description</a>
=======
<a name="id705408"></a>
=======
<a name="id667405"></a>
=======
<a name="id659759"></a>
=======
<a name="id679987"></a>
=======
<a name="id669280"></a>
=======
<a name="id666003"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the N-th element from the beginning of the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.at.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454796"></a>
<a href="at.html#fusion.sequence.intrinsic.functions.at.synopsis">Synopsis</a>
=======
<a name="id705425"></a>
=======
<a name="id667421"></a>
=======
<a name="id659776"></a>
=======
<a name="id680004"></a>
=======
<a name="id669297"></a>
=======
<a name="id666020"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/at.html" title="at"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">N</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">at</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.at.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id455124"></a>
<a href="at.html#fusion.sequence.intrinsic.functions.at.parameters">Parameters</a>
=======
<a name="id705658"></a>
=======
<a name="id667791"></a>
=======
<a name="id660145"></a>
=======
<a name="id681534"></a>
=======
<a name="id671305"></a>
=======
<a name="id668028"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -98,8 +181,33 @@
</tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.at.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id455282"></a>
<a href="at.html#fusion.sequence.intrinsic.functions.at.expression_semantics">Expression
=======
<a name="id705783"></a>
=======
<a name="id667916"></a>
=======
<a name="id660270"></a>
=======
<a name="id681659"></a>
=======
<a name="id671430"></a>
=======
<a name="id668153"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">at</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -124,15 +232,65 @@
<pre class="programlisting"><a href="../../../iterator/functions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">deref</span></tt></a><span class="special">(</span><a href="../../../iterator/functions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">advance</span></tt></a><span class="special">&lt;</span><span class="identifier">N</span><span class="special">&gt;(</span><a href="begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></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>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id455597"></a>
<a href="at.html#fusion.sequence.intrinsic.functions.at.header">Header</a>
=======
<a name="id705993"></a>
=======
<a name="id668126"></a>
=======
<a name="id660480"></a>
=======
<a name="id681869"></a>
=======
<a name="id671640"></a>
=======
<a name="id668363"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.at.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id455760"></a>
<a href="at.html#fusion.sequence.intrinsic.functions.at.example">Example</a>
=======
<a name="id706108"></a>
=======
<a name="id668241"></a>
=======
<a name="id660595"></a>
=======
<a name="id681984"></a>
=======
<a name="id671755"></a>
=======
<a name="id668478"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.functions.at.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">at</span><span class="special">&lt;</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;</span> <span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span>
@@ -140,7 +298,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>at_c</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="at.html" title="at">
<link rel="next" href="has_key.html" title="has_key">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.at_c.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id455987"></a>
<a href="at_c.html#fusion.sequence.intrinsic.functions.at_c.description">Description</a>
=======
<a name="id706268"></a>
=======
<a name="id668401"></a>
=======
<a name="id660755"></a>
=======
<a name="id682144"></a>
=======
<a name="id671915"></a>
=======
<a name="id668638"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.description">Description</a>
>>>>>>> .merge-right.r57125
</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>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id456017"></a>
<a href="at_c.html#fusion.sequence.intrinsic.functions.at_c.synopsis">Synopsis</a>
=======
<a name="id708606"></a>
=======
<a name="id668418"></a>
=======
<a name="id660772"></a>
=======
<a name="id682161"></a>
=======
<a name="id671932"></a>
=======
<a name="id668655"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">N</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">at_c</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.at_c.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id456348"></a>
<a href="at_c.html#fusion.sequence.intrinsic.functions.at_c.parameters">Parameters</a>
=======
<a name="id708839"></a>
=======
<a name="id668650"></a>
=======
<a name="id661005"></a>
=======
<a name="id682393"></a>
=======
<a name="id672164"></a>
=======
<a name="id668888"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -97,8 +180,33 @@
</tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.at_c.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id456499"></a>
<a href="at_c.html#fusion.sequence.intrinsic.functions.at_c.expression_semantics">Expression
=======
<a name="id708960"></a>
=======
<a name="id668772"></a>
=======
<a name="id661126"></a>
=======
<a name="id682515"></a>
=======
<a name="id672286"></a>
=======
<a name="id669009"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">at_c</span><span class="special">&lt;</span><span class="identifier">N</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -124,15 +232,65 @@
<pre class="programlisting"><a href="../../../iterator/functions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">deref</span></tt></a><span class="special">(</span><a href="../../../iterator/functions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">advance</span></tt></a><span class="special">&lt;</span><span class="identifier">N</span><span class="special">&gt;(</span><a href="begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></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>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id456804"></a>
<a href="at_c.html#fusion.sequence.intrinsic.functions.at_c.header">Header</a>
=======
<a name="id709163"></a>
=======
<a name="id668974"></a>
=======
<a name="id661329"></a>
=======
<a name="id682717"></a>
=======
<a name="id672488"></a>
=======
<a name="id669212"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at_c</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at_c</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.at_c.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id456970"></a>
<a href="at_c.html#fusion.sequence.intrinsic.functions.at_c.example">Example</a>
=======
<a name="id709278"></a>
=======
<a name="id669090"></a>
=======
<a name="id661444"></a>
=======
<a name="id682833"></a>
=======
<a name="id672604"></a>
=======
<a name="id669327"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.functions.at_c.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">at_c</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span>
@@ -140,7 +298,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>at_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="has_key.html" title="has_key">
<link rel="next" href="swap.html" title="swap">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.at_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id458062"></a>
<a href="at_key.html#fusion.sequence.intrinsic.functions.at_key.description">Description</a>
=======
<a name="id710034"></a>
=======
<a name="id669846"></a>
=======
<a name="id662200"></a>
=======
<a name="id683589"></a>
=======
<a name="id673360"></a>
=======
<a name="id670083"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the element associated with a Key from the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.at_key.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id458092"></a>
<a href="at_key.html#fusion.sequence.intrinsic.functions.at_key.synopsis">Synopsis</a>
=======
<a name="id710051"></a>
=======
<a name="id669862"></a>
=======
<a name="id662217"></a>
=======
<a name="id683605"></a>
=======
<a name="id673377"></a>
=======
<a name="id670100"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">at_key</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.at_key.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id458422"></a>
<a href="at_key.html#fusion.sequence.intrinsic.functions.at_key.parameters">Parameters</a>
=======
<a name="id710284"></a>
=======
<a name="id671188"></a>
=======
<a name="id663542"></a>
=======
<a name="id683839"></a>
=======
<a name="id673610"></a>
=======
<a name="id670333"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -97,8 +180,33 @@
</tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.at_key.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id458572"></a>
<a href="at_key.html#fusion.sequence.intrinsic.functions.at_key.expression_semantics">Expression
=======
<a name="id710405"></a>
=======
<a name="id671309"></a>
=======
<a name="id663663"></a>
=======
<a name="id683960"></a>
=======
<a name="id673731"></a>
=======
<a name="id670454"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">at_key</span><span class="special">&lt;</span><span class="identifier">Key</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -120,15 +228,65 @@
with Key.
</p>
<a name="fusion.sequence.intrinsic.functions.at_key.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id458777"></a>
<a href="at_key.html#fusion.sequence.intrinsic.functions.at_key.header">Header</a>
=======
<a name="id710545"></a>
=======
<a name="id671450"></a>
=======
<a name="id663804"></a>
=======
<a name="id684100"></a>
=======
<a name="id673871"></a>
=======
<a name="id670594"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.at_key.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id458943"></a>
<a href="at_key.html#fusion.sequence.intrinsic.functions.at_key.example">Example</a>
=======
<a name="id710660"></a>
=======
<a name="id671565"></a>
=======
<a name="id663919"></a>
=======
<a name="id684216"></a>
=======
<a name="id673986"></a>
=======
<a name="id670710"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.functions.at_key.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">at_key</span><span class="special">&lt;</span><span class="keyword">char</span><span class="special">&gt;(</span><span class="identifier">s</span><span class="special">)</span> <span class="special">==</span> <span class="char">'x'</span><span class="special">);</span>
@@ -136,7 +294,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="front.html" title="front">
<link rel="next" href="size.html" title="size">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.back.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id453047"></a>
<a href="back.html#fusion.sequence.intrinsic.functions.back.description">Description</a>
=======
<a name="id704208"></a>
=======
<a name="id666205"></a>
=======
<a name="id658559"></a>
=======
<a name="id678787"></a>
=======
<a name="id668080"></a>
=======
<a name="id664803"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the last element in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.back.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id453076"></a>
<a href="back.html#fusion.sequence.intrinsic.functions.back.synopsis">Synopsis</a>
=======
<a name="id704225"></a>
=======
<a name="id666221"></a>
=======
<a name="id658576"></a>
=======
<a name="id678804"></a>
=======
<a name="id668097"></a>
=======
<a name="id664820"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/back.html" title="back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">back</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">back</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.back.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id453351"></a>
<a href="back.html#fusion.sequence.intrinsic.functions.back.parameters">Parameters</a>
=======
<a name="id704415"></a>
=======
<a name="id666411"></a>
=======
<a name="id658765"></a>
=======
<a name="id678993"></a>
=======
<a name="id668286"></a>
=======
<a name="id665010"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -84,8 +167,33 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.back.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id453464"></a>
<a href="back.html#fusion.sequence.intrinsic.functions.back.expression_semantics">Expression
=======
<a name="id704505"></a>
=======
<a name="id666501"></a>
=======
<a name="id658855"></a>
=======
<a name="id679083"></a>
=======
<a name="id668376"></a>
=======
<a name="id665100"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">back</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -107,15 +215,65 @@
in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.back.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id453659"></a>
<a href="back.html#fusion.sequence.intrinsic.functions.back.header">Header</a>
=======
<a name="id704636"></a>
=======
<a name="id666632"></a>
=======
<a name="id658986"></a>
=======
<a name="id679214"></a>
=======
<a name="id668507"></a>
=======
<a name="id665230"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.back.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id453825"></a>
<a href="back.html#fusion.sequence.intrinsic.functions.back.example">Example</a>
=======
<a name="id704751"></a>
=======
<a name="id666747"></a>
=======
<a name="id659101"></a>
=======
<a name="id679329"></a>
=======
<a name="id668622"></a>
=======
<a name="id665346"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.functions.back.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">back</span><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span>
@@ -123,7 +281,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>begin</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="../functions.html" title="Functions">
<link rel="next" href="end.html" title="end">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.begin.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id449344"></a>
<a href="begin.html#fusion.sequence.intrinsic.functions.begin.description">Description</a>
=======
<a name="id700544"></a>
=======
<a name="id660175"></a>
=======
<a name="id652529"></a>
=======
<a name="id675010"></a>
=======
<a name="id663672"></a>
=======
<a name="id660395"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns an iterator pointing to the first element in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.begin.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id449373"></a>
<a href="begin.html#fusion.sequence.intrinsic.functions.begin.synopsis">Synopsis</a>
=======
<a name="id700561"></a>
=======
<a name="id660192"></a>
=======
<a name="id652546"></a>
=======
<a name="id675027"></a>
=======
<a name="id663688"></a>
=======
<a name="id660412"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">begin</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.begin.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id449647"></a>
<a href="begin.html#fusion.sequence.intrinsic.functions.begin.parameters">Parameters</a>
=======
<a name="id700751"></a>
=======
<a name="id660381"></a>
=======
<a name="id652735"></a>
=======
<a name="id675216"></a>
=======
<a name="id663878"></a>
=======
<a name="id660601"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -84,13 +167,39 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.begin.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id449760"></a>
<a href="begin.html#fusion.sequence.intrinsic.functions.begin.expression_semantics">Expression
=======
<a name="id700851"></a>
=======
<a name="id660471"></a>
=======
<a name="id652825"></a>
=======
<a name="id675306"></a>
=======
<a name="id663968"></a>
=======
<a name="id660691"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">begin</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
</pre>
<p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: <a href="../../../iterator/concepts/forward_iterator.html" title="Forward
Iterator">Forward
Iterator</a> if <tt class="computeroutput"><span class="identifier">seq</span></tt>
@@ -107,21 +216,94 @@
is a <a href="../../concepts/random_access_sequence.html" title="Random
Access Sequence">Random
Access Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/forward_iterator.html" title="Forward Iterator">Forward
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> else, <a class="link" href="../../../iterator/concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> else, <a class="link" href="../../../iterator/concepts/random_access_iterator.html" title="Random Access Iterator">Random
Access Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/associative_iterator.html" title="Associative Iterator">Associative
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is an <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a>.
</li>
</ul></div>
<p>
<span class="bold"><b>Semantics</b></span>: Returns an iterator pointing
to the first element in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.begin.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id449927"></a>
<a href="begin.html#fusion.sequence.intrinsic.functions.begin.header">Header</a>
=======
<a name="id700953"></a>
=======
<a name="id660601"></a>
=======
<a name="id652955"></a>
=======
<a name="id675436"></a>
=======
<a name="id664098"></a>
=======
<a name="id660821"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">begin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">begin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.begin.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id450094"></a>
<a href="begin.html#fusion.sequence.intrinsic.functions.begin.example">Example</a>
=======
<a name="id701068"></a>
=======
<a name="id660716"></a>
=======
<a name="id653070"></a>
=======
<a name="id675551"></a>
=======
<a name="id664213"></a>
=======
<a name="id660936"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.functions.begin.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><a href="../../../iterator/functions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">deref</span></tt></a><span class="special">(</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">v</span><span class="special">))</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span>
@@ -129,7 +311,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>empty</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="end.html" title="end">
<link rel="next" href="front.html" title="front">
@@ -30,8 +38,33 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.empty.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451280"></a>
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.description">Description</a>
=======
<a name="id701884"></a>
=======
<a name="id661560"></a>
=======
<a name="id653914"></a>
=======
<a name="id676395"></a>
=======
<a name="id665056"></a>
=======
<a name="id661780"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns a type convertible to <tt class="computeroutput"><span class="keyword">bool</span></tt>
@@ -39,16 +72,66 @@
the sequence is empty, else, evaluates to <tt class="computeroutput"><span class="keyword">false</span></tt>.
</p>
<a name="fusion.sequence.intrinsic.functions.empty.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451345"></a>
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.synopsis">Synopsis</a>
=======
<a name="id701924"></a>
=======
<a name="id661599"></a>
=======
<a name="id653953"></a>
=======
<a name="id676434"></a>
=======
<a name="id665096"></a>
=======
<a name="id661819"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/empty.html" title="empty"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">empty</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">empty</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.empty.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451498"></a>
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.parameters">Parameters</a>
=======
<a name="id702027"></a>
=======
<a name="id661702"></a>
=======
<a name="id654056"></a>
=======
<a name="id676538"></a>
=======
<a name="id665199"></a>
=======
<a name="id661922"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -82,8 +165,33 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.empty.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451612"></a>
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.expression_semantics">Expression
=======
<a name="id702117"></a>
=======
<a name="id661792"></a>
=======
<a name="id654146"></a>
=======
<a name="id676628"></a>
=======
<a name="id665289"></a>
=======
<a name="id662012"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">empty</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -96,15 +204,65 @@
to <tt class="computeroutput"><span class="keyword">false</span></tt>.
</p>
<a name="fusion.sequence.intrinsic.functions.empty.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451723"></a>
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.header">Header</a>
=======
<a name="id702192"></a>
=======
<a name="id661867"></a>
=======
<a name="id654221"></a>
=======
<a name="id676702"></a>
=======
<a name="id665364"></a>
=======
<a name="id662087"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.empty.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451890"></a>
<a href="empty.html#fusion.sequence.intrinsic.functions.empty.example">Example</a>
=======
<a name="id702307"></a>
=======
<a name="id661982"></a>
=======
<a name="id654336"></a>
=======
<a name="id677978"></a>
=======
<a name="id667271"></a>
=======
<a name="id663994"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.functions.empty.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">empty</span><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="keyword">false</span><span class="special">);</span>
@@ -112,7 +270,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>end</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="begin.html" title="begin">
<link rel="next" href="empty.html" title="empty">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.end.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id450304"></a>
<a href="end.html#fusion.sequence.intrinsic.functions.end.description">Description</a>
=======
<a name="id701214"></a>
=======
<a name="id660861"></a>
=======
<a name="id653215"></a>
=======
<a name="id675696"></a>
=======
<a name="id664358"></a>
=======
<a name="id661081"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.description">Description</a>
>>>>>>> .merge-right.r57125
</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>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id450334"></a>
<a href="end.html#fusion.sequence.intrinsic.functions.end.synopsis">Synopsis</a>
=======
<a name="id701230"></a>
=======
<a name="id660878"></a>
=======
<a name="id653232"></a>
=======
<a name="id675713"></a>
=======
<a name="id664375"></a>
=======
<a name="id661098"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">end</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.end.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id450606"></a>
<a href="end.html#fusion.sequence.intrinsic.functions.end.parameters">Parameters</a>
=======
<a name="id701420"></a>
=======
<a name="id661068"></a>
=======
<a name="id653422"></a>
=======
<a name="id675903"></a>
=======
<a name="id664564"></a>
=======
<a name="id661288"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -84,13 +167,39 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.end.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id450718"></a>
<a href="end.html#fusion.sequence.intrinsic.functions.end.expression_semantics">Expression
=======
<a name="id701510"></a>
=======
<a name="id661158"></a>
=======
<a name="id653512"></a>
=======
<a name="id675993"></a>
=======
<a name="id664654"></a>
=======
<a name="id661378"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">end</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
</pre>
<p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: <a href="../../../iterator/concepts/forward_iterator.html" title="Forward
Iterator">Forward
Iterator</a> if <tt class="computeroutput"><span class="identifier">seq</span></tt>
@@ -107,21 +216,94 @@
is a <a href="../../concepts/random_access_sequence.html" title="Random
Access Sequence">Random
Access Sequence</a>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/forward_iterator.html" title="Forward Iterator">Forward
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> else, <a class="link" href="../../../iterator/concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> else, <a class="link" href="../../../iterator/concepts/random_access_iterator.html" title="Random Access Iterator">Random
Access Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/associative_iterator.html" title="Associative Iterator">Associative
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is an <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a>.
</li>
</ul></div>
<p>
<span class="bold"><b>Semantics</b></span>: Returns an iterator pointing
to one element past the end of the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.end.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id450886"></a>
<a href="end.html#fusion.sequence.intrinsic.functions.end.header">Header</a>
=======
<a name="id701612"></a>
=======
<a name="id661287"></a>
=======
<a name="id653641"></a>
=======
<a name="id676122"></a>
=======
<a name="id664784"></a>
=======
<a name="id661507"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.end.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id451051"></a>
<a href="end.html#fusion.sequence.intrinsic.functions.end.example">Example</a>
=======
<a name="id701727"></a>
=======
<a name="id661402"></a>
=======
<a name="id653756"></a>
=======
<a name="id676238"></a>
=======
<a name="id664899"></a>
=======
<a name="id661622"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.functions.end.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><a href="../../../iterator/functions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">deref</span></tt></a><span class="special">(</span><a href="../../../iterator/functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><span class="identifier">end</span><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span>
@@ -129,7 +311,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="empty.html" title="empty">
<link rel="next" href="back.html" title="back">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.front.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id452080"></a>
<a href="front.html#fusion.sequence.intrinsic.functions.front.description">Description</a>
=======
<a name="id702440"></a>
=======
<a name="id665529"></a>
=======
<a name="id657883"></a>
=======
<a name="id678111"></a>
=======
<a name="id667404"></a>
=======
<a name="id664128"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the first element in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.front.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id452109"></a>
<a href="front.html#fusion.sequence.intrinsic.functions.front.synopsis">Synopsis</a>
=======
<a name="id702457"></a>
=======
<a name="id665546"></a>
=======
<a name="id657900"></a>
=======
<a name="id678128"></a>
=======
<a name="id667421"></a>
=======
<a name="id664144"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/front.html" title="front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">front</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -49,8 +107,33 @@
<span class="identifier">front</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.front.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id452384"></a>
<a href="front.html#fusion.sequence.intrinsic.functions.front.parameters">Parameters</a>
=======
<a name="id702646"></a>
=======
<a name="id665735"></a>
=======
<a name="id658090"></a>
=======
<a name="id678318"></a>
=======
<a name="id667611"></a>
=======
<a name="id664334"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -84,8 +167,33 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.front.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id452497"></a>
<a href="front.html#fusion.sequence.intrinsic.functions.front.expression_semantics">Expression
=======
<a name="id702736"></a>
=======
<a name="id665825"></a>
=======
<a name="id658180"></a>
=======
<a name="id678408"></a>
=======
<a name="id667701"></a>
=======
<a name="id664424"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">front</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -107,15 +215,65 @@
in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.front.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id452690"></a>
<a href="front.html#fusion.sequence.intrinsic.functions.front.header">Header</a>
=======
<a name="id702867"></a>
=======
<a name="id665956"></a>
=======
<a name="id658310"></a>
=======
<a name="id678539"></a>
=======
<a name="id667832"></a>
=======
<a name="id664555"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.front.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id452856"></a>
<a href="front.html#fusion.sequence.intrinsic.functions.front.example">Example</a>
=======
<a name="id702982"></a>
=======
<a name="id666071"></a>
=======
<a name="id658426"></a>
=======
<a name="id678654"></a>
=======
<a name="id667947"></a>
=======
<a name="id664670"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.functions.front.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">front</span><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span>
@@ -123,7 +281,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>has_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="at_c.html" title="at_c">
<link rel="next" href="at_key.html" title="at_key">
@@ -30,8 +38,33 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.has_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id457172"></a>
<a href="has_key.html#fusion.sequence.intrinsic.functions.has_key.description">Description</a>
=======
<a name="id709418"></a>
=======
<a name="id669230"></a>
=======
<a name="id661584"></a>
=======
<a name="id682973"></a>
=======
<a name="id672744"></a>
=======
<a name="id669467"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns a type convertible to <tt class="computeroutput"><span class="keyword">bool</span></tt>
@@ -40,16 +73,66 @@
to <tt class="computeroutput"><span class="keyword">false</span></tt>.
</p>
<a name="fusion.sequence.intrinsic.functions.has_key.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id457238"></a>
<a href="has_key.html#fusion.sequence.intrinsic.functions.has_key.synopsis">Synopsis</a>
=======
<a name="id709457"></a>
=======
<a name="id669268"></a>
=======
<a name="id661623"></a>
=======
<a name="id683011"></a>
=======
<a name="id672782"></a>
=======
<a name="id669506"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/has_key.html" title="has_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">has_key</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">has_key</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.has_key.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id457419"></a>
<a href="has_key.html#fusion.sequence.intrinsic.functions.has_key.parameters">Parameters</a>
=======
<a name="id709582"></a>
=======
<a name="id669393"></a>
=======
<a name="id661747"></a>
=======
<a name="id683136"></a>
=======
<a name="id672907"></a>
=======
<a name="id669630"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -96,8 +179,33 @@
</tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.has_key.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id457572"></a>
<a href="has_key.html#fusion.sequence.intrinsic.functions.has_key.expression_semantics">Expression
=======
<a name="id709700"></a>
=======
<a name="id669512"></a>
=======
<a name="id661866"></a>
=======
<a name="id683255"></a>
=======
<a name="id673026"></a>
=======
<a name="id669749"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">has_key</span><span class="special">&lt;</span><span class="identifier">Key</span><span class="special">&gt;(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -110,15 +218,65 @@
associated with Key, else, evaluates to <tt class="computeroutput"><span class="keyword">false</span></tt>.
</p>
<a name="fusion.sequence.intrinsic.functions.has_key.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id457693"></a>
<a href="has_key.html#fusion.sequence.intrinsic.functions.has_key.header">Header</a>
=======
<a name="id709778"></a>
=======
<a name="id669590"></a>
=======
<a name="id661944"></a>
=======
<a name="id683333"></a>
=======
<a name="id673104"></a>
=======
<a name="id669827"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">has_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">has_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.has_key.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id457859"></a>
<a href="has_key.html#fusion.sequence.intrinsic.functions.has_key.example">Example</a>
=======
<a name="id709894"></a>
=======
<a name="id669705"></a>
=======
<a name="id662059"></a>
=======
<a name="id683448"></a>
=======
<a name="id673219"></a>
=======
<a name="id669942"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.functions.has_key.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">,</span> <span class="keyword">bool</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">has_key</span><span class="special">&lt;</span><span class="keyword">char</span><span class="special">&gt;(</span><span class="identifier">s</span><span class="special">)</span> <span class="special">==</span> <span class="keyword">true</span><span class="special">);</span>
@@ -126,7 +284,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>size</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="back.html" title="back">
<link rel="next" href="at.html" title="at">
@@ -30,24 +38,99 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.size.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454017"></a>
<a href="size.html#fusion.sequence.intrinsic.functions.size.description">Description</a>
=======
<a name="id704884"></a>
=======
<a name="id666880"></a>
=======
<a name="id659234"></a>
=======
<a name="id679463"></a>
=======
<a name="id668756"></a>
=======
<a name="id665479"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns a type convertible to <tt class="computeroutput"><span class="keyword">int</span></tt>
that evaluates the number of elements in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.size.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454060"></a>
<a href="size.html#fusion.sequence.intrinsic.functions.size.synopsis">Synopsis</a>
=======
<a name="id704908"></a>
=======
<a name="id666904"></a>
=======
<a name="id659258"></a>
=======
<a name="id679487"></a>
=======
<a name="id668780"></a>
=======
<a name="id665503"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">size</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">seq</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.size.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454212"></a>
<a href="size.html#fusion.sequence.intrinsic.functions.size.parameters">Parameters</a>
=======
<a name="id705011"></a>
=======
<a name="id667007"></a>
=======
<a name="id659362"></a>
=======
<a name="id679590"></a>
=======
<a name="id668883"></a>
=======
<a name="id665606"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -81,8 +164,33 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.size.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454326"></a>
<a href="size.html#fusion.sequence.intrinsic.functions.size.expression_semantics">Expression
=======
<a name="id705101"></a>
=======
<a name="id667097"></a>
=======
<a name="id659452"></a>
=======
<a name="id679680"></a>
=======
<a name="id668973"></a>
=======
<a name="id665696"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">size</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
@@ -95,15 +203,65 @@
in the sequence.
</p>
<a name="fusion.sequence.intrinsic.functions.size.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454412"></a>
<a href="size.html#fusion.sequence.intrinsic.functions.size.header">Header</a>
=======
<a name="id705160"></a>
=======
<a name="id667156"></a>
=======
<a name="id659510"></a>
=======
<a name="id679739"></a>
=======
<a name="id669032"></a>
=======
<a name="id665755"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.header">Header</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">size</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">size</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.size.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id454577"></a>
<a href="size.html#fusion.sequence.intrinsic.functions.size.example">Example</a>
=======
<a name="id705275"></a>
=======
<a name="id667271"></a>
=======
<a name="id659626"></a>
=======
<a name="id679854"></a>
=======
<a name="id669147"></a>
=======
<a name="id665870"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.functions.size.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</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>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">size</span><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span>
@@ -111,7 +269,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>swap</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../functions.html" title="Functions">
<link rel="previous" href="at_key.html" title="at_key">
<link rel="next" href="../metafunctions.html" title="Metafunctions">
@@ -30,22 +38,97 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.functions.swap.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id459147"></a>
<a href="swap.html#fusion.sequence.intrinsic.functions.swap.description">Description</a>
=======
<a name="id711894"></a>
=======
<a name="id671705"></a>
=======
<a name="id664059"></a>
=======
<a name="id684356"></a>
=======
<a name="id674127"></a>
=======
<a name="id670850"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.description">Description</a>
>>>>>>> .merge-right.r57125
</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>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id459177"></a>
<a href="swap.html#fusion.sequence.intrinsic.functions.swap.synopsis">Synopsis</a>
=======
<a name="id711910"></a>
=======
<a name="id671722"></a>
=======
<a name="id664076"></a>
=======
<a name="id684373"></a>
=======
<a name="id674144"></a>
=======
<a name="id670867"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
<span class="keyword">void</span> <span class="identifier">swap</span><span class="special">(</span><span class="identifier">Seq1</span><span class="special">&amp;</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Seq2</span><span class="special">&amp;</span> <span class="identifier">seq2</span><span class="special">);</span>
</pre>
<a name="fusion.sequence.intrinsic.functions.swap.parameters"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id459316"></a>
<a href="swap.html#fusion.sequence.intrinsic.functions.swap.parameters">Parameters</a>
=======
<a name="id712006"></a>
=======
<a name="id671818"></a>
=======
<a name="id664172"></a>
=======
<a name="id684469"></a>
=======
<a name="id674240"></a>
=======
<a name="id670963"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.parameters">Parameters</a>
>>>>>>> .merge-right.r57125
</h6>
<div class="informaltable"><table class="table">
<colgroup>
@@ -79,8 +162,33 @@
</tr></tbody>
</table></div>
<a name="fusion.sequence.intrinsic.functions.swap.expression_semantics"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id459442"></a>
<a href="swap.html#fusion.sequence.intrinsic.functions.swap.expression_semantics">Expression
=======
<a name="id712104"></a>
=======
<a name="id671915"></a>
=======
<a name="id664269"></a>
=======
<a name="id684566"></a>
=======
<a name="id674337"></a>
=======
<a name="id671060"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">swap</span><span class="special">(</span><span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">seq2</span><span class="special">);</span>
@@ -98,8 +206,33 @@
/sequence/intrinsic/swap.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.functions.swap.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id459689"></a>
<a href="swap.html#fusion.sequence.intrinsic.functions.swap.example">Example</a>
=======
<a name="id712272"></a>
=======
<a name="id672083"></a>
=======
<a name="id664437"></a>
=======
<a name="id684734"></a>
=======
<a name="id674505"></a>
=======
<a name="id671228"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.functions.swap.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</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>
<span class="identifier">swap</span><span class="special">(</span><span class="identifier">v1</span><span class="special">,</span> <span class="identifier">v2</span><span class="special">);</span>
@@ -109,7 +242,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -3,7 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Metafunctions</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../intrinsic.html" title="Intrinsic">
<link rel="previous" href="functions/swap.html" title="swap">
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>at</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="size.html" title="size">
<link rel="next" href="at_c.html" title="at_c">
@@ -30,17 +38,72 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id463892"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.description">Description</a>
=======
<a name="id715319"></a>
=======
<a name="id677580"></a>
=======
<a name="id669935"></a>
=======
<a name="id691340"></a>
=======
<a name="id680002"></a>
=======
<a name="id676725"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
<<<<<<< .working
Returns the result type of <a href="../functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a>
<sup>[<a name="id463929" href="#ftn.id463929">6</a>]</sup>
=======
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="id676747" href="#ftn.id676747" class="footnote">6</a>]</sup>
>>>>>>> .merge-right.r57125
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id464047"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.synopsis">Synopsis</a>
=======
<a name="id715410"></a>
=======
<a name="id677672"></a>
=======
<a name="id670026"></a>
=======
<a name="id691432"></a>
=======
<a name="id680093"></a>
=======
<a name="id676816"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -51,8 +114,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id464162"></a><p class="title"><b>Table 1.25. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id715494"></a><p class="title"><b>Table 1.25. Parameters</b></p>
=======
<a name="id677756"></a><p class="title"><b>Table 1.29. Parameters</b></p>
=======
<a name="id670110"></a><p class="title"><b>Table 1.29. Parameters</b></p>
=======
<a name="id691516"></a><p class="title"><b>Table&#160;1.29.&#160;Parameters</b></p>
=======
<a name="id680177"></a><p class="title"><b>Table&#160;1.29.&#160;Parameters</b></p>
=======
<a name="id676900"></a><p class="title"><b>Table&#160;1.29.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -98,9 +186,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.at.expression_semantics"></a><h6>
<a name="id464305"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at.expression_semantics"></a><h6>
<a name="id677019"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">N</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -112,29 +206,86 @@
<span class="bold"><b>Semantics</b></span>: Returns the result type of
using <a href="../functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a> to access the <tt class="computeroutput"><span class="identifier">N</span></tt>th element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.header"></a><h6>
<a name="id677114"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.at.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id464452"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.example">Example</a>
=======
<a name="id715711"></a>
=======
<a name="id678084"></a>
=======
<a name="id670439"></a>
=======
<a name="id691844"></a>
=======
<a name="id680506"></a>
=======
<a name="id677229"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="at.html" title="at"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">float</span><span class="special">&amp;&gt;));</span>
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<div class="footnote"><p><sup>[<a name="ftn.id463929" href="#id463929">6</a>] </sup>
<a href="at.html" title="at"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></tt></a> reflects the actual return
type of the function <a href="../functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a>. <a href="../../../sequence.html" title="Sequence">Sequence</a>(s)
typically return references to its elements via the <a href="../functions/at.html" title="at"><tt class="computeroutput"><span class="identifier">at</span></tt></a> function. If you want
to get the actual element type, use <a href="value_at.html" title="value_at"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at</span></tt></a>
=======
<div class="footnote"><p><sup>[<a name="ftn.id715340" href="#id715340" class="para">6</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id677602" href="#id677602" class="para">6</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id669956" href="#id669956" class="para">6</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id691362" href="#id691362" class="para">6</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id680024" href="#id680024" class="para">6</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id676747" href="#id676747" class="para">6</a>] </sup>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<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
to get the actual element type, use <a class="link" href="value_at.html" title="value_at"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at</span></code></a>
>>>>>>> .merge-right.r57125
</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>at_c</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="at.html" title="at">
<link rel="next" href="value_at.html" title="value_at">
@@ -30,17 +38,72 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id464709"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.description">Description</a>
=======
<a name="id715889"></a>
=======
<a name="id678262"></a>
=======
<a name="id670616"></a>
=======
<a name="id692022"></a>
=======
<a name="id680684"></a>
=======
<a name="id677407"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
<<<<<<< .working
Returns the result type of <a href="../functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a>
<sup>[<a name="id464747" href="#ftn.id464747">7</a>]</sup>
=======
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="id677431" href="#ftn.id677431" class="footnote">7</a>]</sup>
>>>>>>> .merge-right.r57125
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id464868"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.synopsis">Synopsis</a>
=======
<a name="id715982"></a>
=======
<a name="id678356"></a>
=======
<a name="id670710"></a>
=======
<a name="id692116"></a>
=======
<a name="id680777"></a>
=======
<a name="id677500"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -51,8 +114,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id464983"></a><p class="title"><b>Table 1.26. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id716066"></a><p class="title"><b>Table 1.26. Parameters</b></p>
=======
<a name="id678440"></a><p class="title"><b>Table 1.30. Parameters</b></p>
=======
<a name="id670794"></a><p class="title"><b>Table 1.30. Parameters</b></p>
=======
<a name="id692200"></a><p class="title"><b>Table&#160;1.30.&#160;Parameters</b></p>
=======
<a name="id680861"></a><p class="title"><b>Table&#160;1.30.&#160;Parameters</b></p>
=======
<a name="id677584"></a><p class="title"><b>Table&#160;1.30.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -97,9 +185,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics"></a><h6>
<a name="id465121"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics"></a><h6>
<a name="id677697"></a>
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">M</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -111,29 +205,86 @@
<span class="bold"><b>Semantics</b></span>: Returns the result type of
using <a href="../functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a> to access the <tt class="computeroutput"><span class="identifier">M</span></tt>th element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.header"></a><h6>
<a name="id677790"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id465270"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.example">Example</a>
=======
<a name="id716275"></a>
=======
<a name="id678760"></a>
=======
<a name="id671114"></a>
=======
<a name="id692520"></a>
=======
<a name="id681182"></a>
=======
<a name="id677905"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">,</span> <span class="number">1</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">float</span><span class="special">&amp;&gt;));</span>
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<div class="footnote"><p><sup>[<a name="ftn.id464747" href="#id464747">7</a>] </sup>
<a href="at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span></tt></a> reflects the actual
return type of the function <a href="../functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a>. <a href="../../../sequence.html" title="Sequence">Sequence</a>(s)
typically return references to its elements via the <a href="../functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a> function. If you want
to get the actual element type, use <a href="value_at_c.html" title="value_at_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_c</span></tt></a>
=======
<div class="footnote"><p><sup>[<a name="ftn.id715913" href="#id715913" class="para">7</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id678286" href="#id678286" class="para">7</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id670640" href="#id670640" class="para">7</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id692046" href="#id692046" class="para">7</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id680708" href="#id680708" class="para">7</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id677431" href="#id677431" class="para">7</a>] </sup>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<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
to get the actual element type, use <a class="link" href="value_at_c.html" title="value_at_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_c</span></code></a>
>>>>>>> .merge-right.r57125
</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>at_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="has_key.html" title="has_key">
<link rel="next" href="value_at_key.html" title="value_at_key">
@@ -30,17 +38,72 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id467644"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.description">Description</a>
=======
<a name="id719070"></a>
=======
<a name="id681553"></a>
=======
<a name="id673907"></a>
=======
<a name="id696337"></a>
=======
<a name="id685067"></a>
=======
<a name="id681790"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
<<<<<<< .working
Returns the result type of <a href="../functions/at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">at_key</span></tt></a>
<sup>[<a name="id467682" href="#ftn.id467682">8</a>]</sup>
=======
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="id681814" href="#ftn.id681814" class="footnote">8</a>]</sup>
>>>>>>> .merge-right.r57125
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id467800"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.synopsis">Synopsis</a>
=======
<a name="id719163"></a>
=======
<a name="id681646"></a>
=======
<a name="id674000"></a>
=======
<a name="id696430"></a>
=======
<a name="id685160"></a>
=======
<a name="id681883"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -51,8 +114,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id467915"></a><p class="title"><b>Table 1.30. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id719247"></a><p class="title"><b>Table 1.30. Parameters</b></p>
=======
<a name="id681730"></a><p class="title"><b>Table 1.34. Parameters</b></p>
=======
<a name="id674084"></a><p class="title"><b>Table 1.34. Parameters</b></p>
=======
<a name="id696514"></a><p class="title"><b>Table&#160;1.34.&#160;Parameters</b></p>
=======
<a name="id685244"></a><p class="title"><b>Table&#160;1.34.&#160;Parameters</b></p>
=======
<a name="id681967"></a><p class="title"><b>Table&#160;1.34.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -97,9 +185,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics"></a><h6>
<a name="id468053"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics"></a><h6>
<a name="id682079"></a>
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -113,29 +207,86 @@
with key type <tt class="computeroutput"><span class="identifier">Key</span></tt> in
<tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/at_key.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.header"></a><h6>
<a name="id682171"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id468201"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.example">Example</a>
=======
<a name="id719455"></a>
=======
<a name="id682050"></a>
=======
<a name="id674404"></a>
=======
<a name="id696834"></a>
=======
<a name="id685563"></a>
=======
<a name="id682287"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">mymap</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></tt></a><span class="special">&lt;</span><span class="identifier">mymap</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&amp;&gt;));</span>
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<div class="footnote"><p><sup>[<a name="ftn.id467682" href="#id467682">8</a>] </sup>
<a href="at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></tt></a> reflects the actual
return type of the function <a href="../functions/at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">at_key</span></tt></a>. <span class="underline">_sequence</span>_s
typically return references to its elements via the <a href="../functions/at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">at_key</span></tt></a> function. If you
want to get the actual element type, use <a href="value_at_key.html" title="value_at_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_key</span></tt></a>
=======
<div class="footnote"><p><sup>[<a name="ftn.id719094" href="#id719094" class="para">8</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id681577" href="#id681577" class="para">8</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id673931" href="#id673931" class="para">8</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id696361" href="#id696361" class="para">8</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id685091" href="#id685091" class="para">8</a>] </sup>
=======
<div class="footnote"><p><sup>[<a name="ftn.id681814" href="#id681814" class="para">8</a>] </sup>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<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
want to get the actual element type, use <a class="link" href="value_at_key.html" title="value_at_key"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_key</span></code></a>
>>>>>>> .merge-right.r57125
</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="front.html" title="front">
<link rel="next" href="size.html" title="size">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.back.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id462630"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.description">Description</a>
=======
<a name="id714442"></a>
=======
<a name="id674841"></a>
=======
<a name="id667195"></a>
=======
<a name="id689693"></a>
=======
<a name="id678355"></a>
=======
<a name="id675078"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/back.html" title="back"><tt class="computeroutput"><span class="identifier">back</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.back.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id462678"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.synopsis">Synopsis</a>
=======
<a name="id714470"></a>
=======
<a name="id674870"></a>
=======
<a name="id667224"></a>
=======
<a name="id689722"></a>
=======
<a name="id678384"></a>
=======
<a name="id675107"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">back</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id462775"></a><p class="title"><b>Table 1.23. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id714540"></a><p class="title"><b>Table 1.23. Parameters</b></p>
=======
<a name="id674940"></a><p class="title"><b>Table 1.27. Parameters</b></p>
=======
<a name="id667294"></a><p class="title"><b>Table 1.27. Parameters</b></p>
=======
<a name="id689792"></a><p class="title"><b>Table&#160;1.27.&#160;Parameters</b></p>
=======
<a name="id678453"></a><p class="title"><b>Table&#160;1.27.&#160;Parameters</b></p>
=======
<a name="id675177"></a><p class="title"><b>Table&#160;1.27.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,9 +163,15 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.back.expression_semantics"></a><h6>
<a name="id462874"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.back.expression_semantics"></a><h6>
<a name="id675258"></a>
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">back</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -94,12 +183,41 @@
<span class="bold"><b>Semantics</b></span>: The type returned by dereferencing
an iterator to the last element in the sequence. Equivalent to <tt class="computeroutput"><a href="../../../iterator/metafunctions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></tt></a><span class="special">&lt;</span><a href="../../../iterator/metafunctions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></tt></a><span class="special">&lt;</span><a href="end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">type</span></tt>.
</p>
<p>
/sequence/intrinsic/back.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.back.header"></a><h6>
<a name="id675405"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.back.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id463105"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.example">Example</a>
=======
<a name="id714772"></a>
=======
<a name="id675283"></a>
=======
<a name="id667637"></a>
=======
<a name="id690135"></a>
=======
<a name="id678797"></a>
=======
<a name="id675520"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="back.html#fusion.sequence.intrinsic.metafunctions.back.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="back.html" title="back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">back</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&amp;&gt;));</span>
@@ -107,7 +225,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>begin</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="end.html" title="end">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.begin.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460036"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.description">Description</a>
=======
<a name="id712512"></a>
=======
<a name="id672323"></a>
=======
<a name="id664677"></a>
=======
<a name="id684974"></a>
=======
<a name="id674745"></a>
=======
<a name="id671468"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/begin.html" title="begin"><tt class="computeroutput"><span class="identifier">begin</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.begin.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460084"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.synopsis">Synopsis</a>
=======
<a name="id712540"></a>
=======
<a name="id672352"></a>
=======
<a name="id664706"></a>
=======
<a name="id685003"></a>
=======
<a name="id674774"></a>
=======
<a name="id671497"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">begin</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460180"></a><p class="title"><b>Table 1.19. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id712610"></a><p class="title"><b>Table 1.19. Parameters</b></p>
=======
<a name="id672422"></a><p class="title"><b>Table 1.23. Parameters</b></p>
=======
<a name="id664776"></a><p class="title"><b>Table 1.23. Parameters</b></p>
=======
<a name="id685072"></a><p class="title"><b>Table&#160;1.23.&#160;Parameters</b></p>
=======
<a name="id674843"></a><p class="title"><b>Table&#160;1.23.&#160;Parameters</b></p>
=======
<a name="id671566"></a><p class="title"><b>Table&#160;1.23.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,27 +163,86 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.begin.expression_semantics"></a><h6>
<a name="id460281"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.begin.expression_semantics"></a><h6>
<a name="id671648"></a>
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre>
<p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: An iterator modelling the
same traversal concept as <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/forward_iterator.html" title="Forward Iterator">Forward
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> else, <a class="link" href="../../../iterator/concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> else, <a class="link" href="../../../iterator/concepts/random_access_iterator.html" title="Random Access Iterator">Random
Access Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/associative_iterator.html" title="Associative Iterator">Associative
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is an <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a>.
</li>
</ul></div>
<p>
<span class="bold"><b>Semantics</b></span>: Returns the type of an iterator
to the first element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/begin.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.begin.header"></a><h6>
<a name="id671793"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">begin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">begin</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.begin.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460401"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.example">Example</a>
=======
<a name="id712770"></a>
=======
<a name="id672764"></a>
=======
<a name="id665118"></a>
=======
<a name="id685414"></a>
=======
<a name="id675185"></a>
=======
<a name="id671908"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="keyword">typedef</span> <a href="begin.html" title="begin"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">it</span><span class="special">;</span>
@@ -109,7 +251,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>empty</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="end.html" title="end">
<link rel="next" href="front.html" title="front">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.empty.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id461321"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.description">Description</a>
=======
<a name="id713400"></a>
=======
<a name="id673713"></a>
=======
<a name="id666067"></a>
=======
<a name="id688565"></a>
=======
<a name="id677227"></a>
=======
<a name="id673950"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/empty.html" title="empty"><tt class="computeroutput"><span class="identifier">empty</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.empty.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id461369"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.synopsis">Synopsis</a>
=======
<a name="id713428"></a>
=======
<a name="id673742"></a>
=======
<a name="id666096"></a>
=======
<a name="id688594"></a>
=======
<a name="id677256"></a>
=======
<a name="id673979"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">empty</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id461466"></a><p class="title"><b>Table 1.21. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id713498"></a><p class="title"><b>Table 1.21. Parameters</b></p>
=======
<a name="id673812"></a><p class="title"><b>Table 1.25. Parameters</b></p>
=======
<a name="id666166"></a><p class="title"><b>Table 1.25. Parameters</b></p>
=======
<a name="id688664"></a><p class="title"><b>Table&#160;1.25.&#160;Parameters</b></p>
=======
<a name="id677325"></a><p class="title"><b>Table&#160;1.25.&#160;Parameters</b></p>
=======
<a name="id674049"></a><p class="title"><b>Table&#160;1.25.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,9 +163,15 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.empty.expression_semantics"></a><h6>
<a name="id461568"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.empty.expression_semantics"></a><h6>
<a name="id674130"></a>
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">empty</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -96,12 +185,41 @@
if <tt class="computeroutput"><span class="identifier">Seq</span></tt> has zero elements,
<tt class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></tt> otherwise.
</p>
<p>
/sequence/intrinsic/empty.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.empty.header"></a><h6>
<a name="id674231"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">empty</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.empty.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id461725"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.example">Example</a>
=======
<a name="id713684"></a>
=======
<a name="id674109"></a>
=======
<a name="id666463"></a>
=======
<a name="id688961"></a>
=======
<a name="id677623"></a>
=======
<a name="id674346"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;&gt;</span> <span class="identifier">empty_vec</span><span class="special">;</span>
<span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
@@ -112,7 +230,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>end</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="begin.html" title="begin">
<link rel="next" href="empty.html" title="empty">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.end.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460654"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.description">Description</a>
=======
<a name="id712940"></a>
=======
<a name="id672934"></a>
=======
<a name="id665288"></a>
=======
<a name="id685585"></a>
=======
<a name="id675356"></a>
=======
<a name="id672079"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/end.html" title="end"><tt class="computeroutput"><span class="identifier">end</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.end.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460701"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.synopsis">Synopsis</a>
=======
<a name="id712966"></a>
=======
<a name="id672960"></a>
=======
<a name="id665315"></a>
=======
<a name="id685611"></a>
=======
<a name="id675382"></a>
=======
<a name="id672105"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">end</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id460798"></a><p class="title"><b>Table 1.20. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id713036"></a><p class="title"><b>Table 1.20. Parameters</b></p>
=======
<a name="id673030"></a><p class="title"><b>Table 1.24. Parameters</b></p>
=======
<a name="id665384"></a><p class="title"><b>Table 1.24. Parameters</b></p>
=======
<a name="id685681"></a><p class="title"><b>Table&#160;1.24.&#160;Parameters</b></p>
=======
<a name="id675452"></a><p class="title"><b>Table&#160;1.24.&#160;Parameters</b></p>
=======
<a name="id672175"></a><p class="title"><b>Table&#160;1.24.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,27 +163,86 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.end.expression_semantics"></a><h6>
<a name="id460898"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.end.expression_semantics"></a><h6>
<a name="id673486"></a>
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre>
<p>
<<<<<<< .working
<span class="bold"><b>Return type</b></span>: A model of the same traversal
concept as <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
=======
<span class="bold"><strong>Return type</strong></span>:
>>>>>>> .merge-right.r57242
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/forward_iterator.html" title="Forward Iterator">Forward
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> else, <a class="link" href="../../../iterator/concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional
Sequence</a> else, <a class="link" href="../../../iterator/concepts/random_access_iterator.html" title="Random Access Iterator">Random
Access Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is a <a class="link" href="../../concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a>.
</li>
<li class="listitem">
A model of <a class="link" href="../../../iterator/concepts/associative_iterator.html" title="Associative Iterator">Associative
Iterator</a> if <code class="computeroutput"><span class="identifier">seq</span></code>
is an <a class="link" href="../../concepts/associative_sequence.html" title="Associative Sequence">Associative
Sequence</a>.
</li>
</ul></div>
<p>
<span class="bold"><b>Semantics</b></span>: Returns the type of an iterator
one past the end of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/end.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.end.header"></a><h6>
<a name="id673631"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.end.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id461016"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.example">Example</a>
=======
<a name="id713196"></a>
=======
<a name="id673509"></a>
=======
<a name="id665863"></a>
=======
<a name="id688361"></a>
=======
<a name="id677023"></a>
=======
<a name="id673746"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="end.html#fusion.sequence.intrinsic.metafunctions.end.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="keyword">typedef</span> <a href="../../../iterator/metafunctions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></tt></a><span class="special">&lt;</span><a href="end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span>
@@ -109,7 +251,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="empty.html" title="empty">
<link rel="next" href="back.html" title="back">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.front.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id461984"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.description">Description</a>
=======
<a name="id713858"></a>
=======
<a name="id674283"></a>
=======
<a name="id666637"></a>
=======
<a name="id689135"></a>
=======
<a name="id677797"></a>
=======
<a name="id674520"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/front.html" title="front"><tt class="computeroutput"><span class="identifier">front</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.front.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id462032"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.synopsis">Synopsis</a>
=======
<a name="id713887"></a>
=======
<a name="id674312"></a>
=======
<a name="id666666"></a>
=======
<a name="id689164"></a>
=======
<a name="id677826"></a>
=======
<a name="id674549"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">front</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id462129"></a><p class="title"><b>Table 1.22. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id713956"></a><p class="title"><b>Table 1.22. Parameters</b></p>
=======
<a name="id674382"></a><p class="title"><b>Table 1.26. Parameters</b></p>
=======
<a name="id666736"></a><p class="title"><b>Table 1.26. Parameters</b></p>
=======
<a name="id689234"></a><p class="title"><b>Table&#160;1.26.&#160;Parameters</b></p>
=======
<a name="id677895"></a><p class="title"><b>Table&#160;1.26.&#160;Parameters</b></p>
=======
<a name="id674619"></a><p class="title"><b>Table&#160;1.26.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,9 +163,15 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.front.expression_semantics"></a><h6>
<a name="id462230"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.front.expression_semantics"></a><h6>
<a name="id674700"></a>
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">front</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -95,12 +184,41 @@
an iterator to the first element in <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
Equivalent to <tt class="computeroutput"><a href="../../../iterator/metafunctions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></tt></a><span class="special">&lt;</span><a href="begin.html" title="begin"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></tt></a><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">type</span></tt>.
</p>
<p>
/sequence/intrinsic/front.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.front.header"></a><h6>
<a name="id674827"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.front.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id462431"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.example">Example</a>
=======
<a name="id714306"></a>
=======
<a name="id674706"></a>
=======
<a name="id667060"></a>
=======
<a name="id689558"></a>
=======
<a name="id678219"></a>
=======
<a name="id674943"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="front.html#fusion.sequence.intrinsic.metafunctions.front.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="front.html" title="front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">front</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&amp;&gt;));</span>
@@ -108,7 +226,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>has_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="value_at_c.html" title="value_at_c">
<link rel="next" href="at_key.html" title="at_key">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.has_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466822"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.description">Description</a>
=======
<a name="id718488"></a>
=======
<a name="id680859"></a>
=======
<a name="id673213"></a>
=======
<a name="id695643"></a>
=======
<a name="id684373"></a>
=======
<a name="id681096"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/has_key.html" title="has_key"><tt class="computeroutput"><span class="identifier">has_key</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.has_key.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466869"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.synopsis">Synopsis</a>
=======
<a name="id718519"></a>
=======
<a name="id680890"></a>
=======
<a name="id673244"></a>
=======
<a name="id695674"></a>
=======
<a name="id684404"></a>
=======
<a name="id681127"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -49,8 +107,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466985"></a><p class="title"><b>Table 1.29. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id718605"></a><p class="title"><b>Table 1.29. Parameters</b></p>
=======
<a name="id680977"></a><p class="title"><b>Table 1.33. Parameters</b></p>
=======
<a name="id673331"></a><p class="title"><b>Table 1.33. Parameters</b></p>
=======
<a name="id695761"></a><p class="title"><b>Table&#160;1.33.&#160;Parameters</b></p>
=======
<a name="id684491"></a><p class="title"><b>Table&#160;1.33.&#160;Parameters</b></p>
=======
<a name="id681214"></a><p class="title"><b>Table&#160;1.33.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -95,9 +178,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics"></a><h6>
<a name="id467122"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics"></a><h6>
<a name="id681325"></a>
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">has_key</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -112,12 +201,41 @@
with key type <tt class="computeroutput"><span class="identifier">Key</span></tt>, returns
<tt class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></tt> otherwise.
</p>
<p>
/sequence/intrinsic/has_key.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.has_key.header"></a><h6>
<a name="id681442"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">has_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">has_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.has_key.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id467302"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.example">Example</a>
=======
<a name="id718837"></a>
=======
<a name="id681320"></a>
=======
<a name="id673674"></a>
=======
<a name="id696104"></a>
=======
<a name="id684834"></a>
=======
<a name="id681557"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">mymap</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a href="has_key.html" title="has_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">has_key</span></tt></a><span class="special">&lt;</span><span class="identifier">mymap</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;));</span>
@@ -126,7 +244,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>size</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="back.html" title="back">
<link rel="next" href="at.html" title="at">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.size.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id463304"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.description">Description</a>
=======
<a name="id714907"></a>
=======
<a name="id675418"></a>
=======
<a name="id667772"></a>
=======
<a name="id690271"></a>
=======
<a name="id679479"></a>
=======
<a name="id676202"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the result type of <a href="../functions/size.html" title="size"><tt class="computeroutput"><span class="identifier">size</span></tt></a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.size.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id463351"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.synopsis">Synopsis</a>
=======
<a name="id714936"></a>
=======
<a name="id675447"></a>
=======
<a name="id667801"></a>
=======
<a name="id690299"></a>
=======
<a name="id679508"></a>
=======
<a name="id676231"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">size</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id463448"></a><p class="title"><b>Table 1.24. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id715006"></a><p class="title"><b>Table 1.24. Parameters</b></p>
=======
<a name="id675517"></a><p class="title"><b>Table 1.28. Parameters</b></p>
=======
<a name="id667871"></a><p class="title"><b>Table 1.28. Parameters</b></p>
=======
<a name="id690916"></a><p class="title"><b>Table&#160;1.28.&#160;Parameters</b></p>
=======
<a name="id679577"></a><p class="title"><b>Table&#160;1.28.&#160;Parameters</b></p>
=======
<a name="id676300"></a><p class="title"><b>Table&#160;1.28.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,9 +163,15 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.size.expression_semantics"></a><h6>
<a name="id463548"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.size.expression_semantics"></a><h6>
<a name="id676382"></a>
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -95,12 +184,41 @@
<span class="bold"><b>Semantics</b></span>: Returns the number of elements
in <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/size.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.size.header"></a><h6>
<a name="id676454"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">size</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">size</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.size.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id463662"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.example">Example</a>
=======
<a name="id715163"></a>
=======
<a name="id677424"></a>
=======
<a name="id669779"></a>
=======
<a name="id691184"></a>
=======
<a name="id679846"></a>
=======
<a name="id676569"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="size.html#fusion.sequence.intrinsic.metafunctions.size.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="keyword">typedef</span> <a href="size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">size_mpl_integral_constant</span><span class="special">;</span>
@@ -109,7 +227,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>swap</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="value_at_key.html" title="value_at_key">
<link rel="next" href="../../operator.html" title="Operator">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.swap.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id469266"></a>
<a href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.description">Description</a>
=======
<a name="id720274"></a>
=======
<a name="id682916"></a>
=======
<a name="id675271"></a>
=======
<a name="id698861"></a>
=======
<a name="id686430"></a>
=======
<a name="id683154"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the return type of swap.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.swap.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id469297"></a>
<a href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.synopsis">Synopsis</a>
=======
<a name="id720294"></a>
=======
<a name="id682937"></a>
=======
<a name="id675291"></a>
=======
<a name="id698881"></a>
=======
<a name="id686451"></a>
=======
<a name="id683174"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
<span class="keyword">struct</span> <span class="identifier">swap</span>
@@ -47,8 +105,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id469414"></a><p class="title"><b>Table 1.32. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id720378"></a><p class="title"><b>Table 1.32. Parameters</b></p>
=======
<a name="id683021"></a><p class="title"><b>Table 1.36. Parameters</b></p>
=======
<a name="id675375"></a><p class="title"><b>Table 1.36. Parameters</b></p>
=======
<a name="id698965"></a><p class="title"><b>Table&#160;1.36.&#160;Parameters</b></p>
=======
<a name="id686535"></a><p class="title"><b>Table&#160;1.36.&#160;Parameters</b></p>
=======
<a name="id683258"></a><p class="title"><b>Table&#160;1.36.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -80,9 +163,15 @@
</tr></tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.swap.expression_semantics"></a><h6>
<a name="id469528"></a>
<a href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.swap.expression_semantics"></a><h6>
<a name="id683348"></a>
<a class="link" href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">swap</span><span class="special">&lt;</span><span class="identifier">Seq1</span><span class="special">,</span> <span class="identifier">Seq2</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -93,13 +182,17 @@
<p>
<span class="bold"><b>Semantics</b></span>: Always returns <tt class="computeroutput"><span class="keyword">void</span></tt>.
</p>
<p>
/sequence/intrinsic/swap.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.swap.header"></a><h6>
<a name="id683431"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">swap</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">swap</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>value_at</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="at_c.html" title="at_c">
<link rel="next" href="value_at_c.html" title="value_at_c">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id465491"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.description">Description</a>
=======
<a name="id717519"></a>
=======
<a name="id678911"></a>
=======
<a name="id671265"></a>
=======
<a name="id692671"></a>
=======
<a name="id681333"></a>
=======
<a name="id678056"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the actual type at a given index from the <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id465529"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.synopsis">Synopsis</a>
=======
<a name="id717547"></a>
=======
<a name="id678939"></a>
=======
<a name="id671293"></a>
=======
<a name="id692699"></a>
=======
<a name="id681360"></a>
=======
<a name="id678084"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -49,8 +107,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id465644"></a><p class="title"><b>Table 1.27. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id717633"></a><p class="title"><b>Table 1.27. Parameters</b></p>
=======
<a name="id679025"></a><p class="title"><b>Table 1.31. Parameters</b></p>
=======
<a name="id671379"></a><p class="title"><b>Table 1.31. Parameters</b></p>
=======
<a name="id692785"></a><p class="title"><b>Table&#160;1.31.&#160;Parameters</b></p>
=======
<a name="id681447"></a><p class="title"><b>Table&#160;1.31.&#160;Parameters</b></p>
=======
<a name="id678170"></a><p class="title"><b>Table&#160;1.31.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -96,9 +179,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics"></a><h6>
<a name="id465789"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics"></a><h6>
<a name="id678286"></a>
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">N</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -110,12 +199,41 @@
<span class="bold"><b>Semantics</b></span>: Returns the actual type at
the <tt class="computeroutput"><span class="identifier">N</span></tt>th element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/value_at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.header"></a><h6>
<a name="id678369"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">value_at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">value_at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id465918"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.example">Example</a>
=======
<a name="id717838"></a>
=======
<a name="id679342"></a>
=======
<a name="id671696"></a>
=======
<a name="id694878"></a>
=======
<a name="id683607"></a>
=======
<a name="id680331"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="value_at.html" title="value_at"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special">&lt;</span><span class="number">1</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">float</span><span class="special">&gt;));</span>
@@ -123,7 +241,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>value_at_c</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="value_at.html" title="value_at">
<link rel="next" href="has_key.html" title="has_key">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466177"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.description">Description</a>
=======
<a name="id718018"></a>
=======
<a name="id680274"></a>
=======
<a name="id672628"></a>
=======
<a name="id695058"></a>
=======
<a name="id683787"></a>
=======
<a name="id680511"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the actual type at a given index from the <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466216"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis">Synopsis</a>
=======
<a name="id718046"></a>
=======
<a name="id680301"></a>
=======
<a name="id672655"></a>
=======
<a name="id695085"></a>
=======
<a name="id683815"></a>
=======
<a name="id680538"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -49,8 +107,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466331"></a><p class="title"><b>Table 1.28. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id718132"></a><p class="title"><b>Table 1.28. Parameters</b></p>
=======
<a name="id680388"></a><p class="title"><b>Table 1.32. Parameters</b></p>
=======
<a name="id672742"></a><p class="title"><b>Table 1.32. Parameters</b></p>
=======
<a name="id695172"></a><p class="title"><b>Table&#160;1.32.&#160;Parameters</b></p>
=======
<a name="id683901"></a><p class="title"><b>Table&#160;1.32.&#160;Parameters</b></p>
=======
<a name="id680625"></a><p class="title"><b>Table&#160;1.32.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -95,9 +178,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics"></a><h6>
<a name="id466468"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics"></a><h6>
<a name="id680737"></a>
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_c</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">M</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -109,12 +198,41 @@
<span class="bold"><b>Semantics</b></span>: Returns the actual type at
the <tt class="computeroutput"><span class="identifier">M</span></tt>th element of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/value_at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.header"></a><h6>
<a name="id680823"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">value_at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">value_at</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id466598"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.example">Example</a>
=======
<a name="id718334"></a>
=======
<a name="id680706"></a>
=======
<a name="id673060"></a>
=======
<a name="id695490"></a>
=======
<a name="id684219"></a>
=======
<a name="id680943"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="value_at_c.html" title="value_at_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_c</span></tt></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">,</span> <span class="number">1</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">float</span><span class="special">&gt;));</span>
@@ -122,7 +240,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
@@ -1,10 +1,18 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>value_at_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="at_key.html" title="at_key">
<link rel="next" href="swap.html" title="swap">
@@ -30,15 +38,65 @@
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id468523"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.description">Description</a>
=======
<a name="id719741"></a>
=======
<a name="id682267"></a>
=======
<a name="id674621"></a>
=======
<a name="id698212"></a>
=======
<a name="id685781"></a>
=======
<a name="id682504"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Returns the actual element type associated with a Key from the <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id468561"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis">Synopsis</a>
=======
<a name="id719765"></a>
=======
<a name="id682291"></a>
=======
<a name="id674645"></a>
=======
<a name="id698236"></a>
=======
<a name="id685805"></a>
=======
<a name="id682528"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">,</span>
@@ -49,8 +107,33 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id468676"></a><p class="title"><b>Table 1.31. Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id719851"></a><p class="title"><b>Table 1.31. Parameters</b></p>
=======
<a name="id682378"></a><p class="title"><b>Table 1.35. Parameters</b></p>
=======
<a name="id674732"></a><p class="title"><b>Table 1.35. Parameters</b></p>
=======
<a name="id698322"></a><p class="title"><b>Table&#160;1.35.&#160;Parameters</b></p>
=======
<a name="id685892"></a><p class="title"><b>Table&#160;1.35.&#160;Parameters</b></p>
=======
<a name="id682615"></a><p class="title"><b>Table&#160;1.35.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
@@ -95,9 +178,15 @@
</tbody>
</table>
</div>
<<<<<<< .working
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics"></a><h6>
<a name="id468815"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics"></a><h6>
<a name="id682726"></a>
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_key</span><span class="special">&lt;</span><span class="identifier">Seq</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">&gt;::</span><span class="identifier">type</span>
@@ -110,12 +199,41 @@
type associated with key type <tt class="computeroutput"><span class="identifier">Key</span></tt>
in <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
</p>
<p>
/sequence/intrinsic/value_at_key.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.header"></a><h6>
<a name="id682812"></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">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">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">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">value_at_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.example"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id468944"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.example">Example</a>
=======
<a name="id720052"></a>
=======
<a name="id682694"></a>
=======
<a name="id675049"></a>
=======
<a name="id698639"></a>
=======
<a name="id686208"></a>
=======
<a name="id682932"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a class="link" href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.example">Example</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;,</span> <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">pair</span></tt></a><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">mymap</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><a href="at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></tt></a><span class="special">&lt;</span><span class="identifier">mymap</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">char</span><span class="special">&gt;));</span>
@@ -123,7 +241,7 @@
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)