update for trac #1893

[SVN r53856]
This commit is contained in:
Joel de Guzman
2009-06-13 06:29:32 +00:00
parent dace0940b7
commit 916077ce6b
254 changed files with 10143 additions and 12786 deletions

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>at</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="size.html" title="size">
<link rel="previous" href="size.html" title="size">
<link rel="next" href="at_c.html" title="at_c">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,19 +23,23 @@
<a accesskey="p" href="size.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="at_c.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.at"></a><a href="at.html" title="at">at</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.at"></a><a href="at.html" title="at">at</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at.description"></a><h6>
<a name="id1037364"></a>
<a name="id463899"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>
<sup>[<a name="id1037397" href="#ftn.id1037397">6</a>]</sup>
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="id463937" href="#ftn.id463937">6</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.synopsis"></a><h6>
<a name="id1037503"></a>
<a name="id464055"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -47,7 +51,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1037605"></a><p class="title"><b>Table<EFBFBD>1.25.<2E>Parameters</b></p>
<a name="id464169"></a><p class="title"><b>Table<EFBFBD>1.25.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -55,94 +59,76 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">N</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">N</span></tt>
</p></td>
<td><p>
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
Integral Constant</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Index of element
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at.expression_semantics"></a><h6>
<a name="id1037735"></a>
<a name="id464313"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type.
<span class="bold"><b>Return type</b></span>: Any type.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the result type of
using <a href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a> to access the <code class="computeroutput"><span class="identifier">N</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1037865"></a>
<a name="id464460"></a>
<a href="at.html#fusion.sequence.intrinsic.metafunctions.at.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></code></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 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">
<div class="footnote"><p><sup>[<a name="ftn.id1037397" href="#id1037397">6</a>] </sup>
<a 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 href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></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"><code class="computeroutput"><span class="identifier">at</span></code></a> function. If you want
to get the actual element type, use <a 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>
<div class="footnote"><p><sup>[<a name="ftn.id463937" href="#id463937">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>
</p></div>
</div>
</div>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>at_c</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="at.html" title="at">
<link rel="previous" href="at.html" title="at">
<link rel="next" href="value_at.html" title="value_at">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,19 +23,23 @@
<a accesskey="p" href="at.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="value_at.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.at_c"></a><a href="at_c.html" title="at_c">at_c</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.at_c"></a><a href="at_c.html" title="at_c">at_c</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.description"></a><h6>
<a name="id1038095"></a>
<a name="id464716"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a>
<sup>[<a name="id1038129" href="#ftn.id1038129">7</a>]</sup>
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="id464754" href="#ftn.id464754">7</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.synopsis"></a><h6>
<a name="id1038238"></a>
<a name="id464875"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -47,7 +51,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1038341"></a><p class="title"><b>Table<EFBFBD>1.26.<2E>Parameters</b></p>
<a name="id464990"></a><p class="title"><b>Table<EFBFBD>1.26.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -55,93 +59,75 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">M</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">M</span></tt>
</p></td>
<td><p>
Positive integer index
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Index of element
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics"></a><h6>
<a name="id1038466"></a>
<a name="id465128"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type
<span class="bold"><b>Return type</b></span>: Any type
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the result type of
using <a href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a> to access the <code class="computeroutput"><span class="identifier">M</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1038597"></a>
<a name="id465277"></a>
<a href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span></code></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 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">
<div class="footnote"><p><sup>[<a name="ftn.id1038129" href="#id1038129">7</a>] </sup>
<a 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 href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></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"><code class="computeroutput"><span class="identifier">at_c</span></code></a> function. If you want
to get the actual element type, use <a 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>
<div class="footnote"><p><sup>[<a name="ftn.id464754" href="#id464754">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>
</p></div>
</div>
</div>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>at_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="has_key.html" title="has_key">
<link rel="previous" href="has_key.html" title="has_key">
<link rel="next" href="value_at_key.html" title="value_at_key">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,19 +23,23 @@
<a accesskey="p" href="has_key.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="value_at_key.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.at_key"></a><a href="at_key.html" title="at_key">at_key</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.at_key"></a><a href="at_key.html" title="at_key">at_key</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.description"></a><h6>
<a name="id1040728"></a>
<a name="id467652"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/at_key.html" title="at_key"><code class="computeroutput"><span class="identifier">at_key</span></code></a>
<sup>[<a name="id1040762" href="#ftn.id1040762">8</a>]</sup>
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="id467690" href="#ftn.id467690">8</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.synopsis"></a><h6>
<a name="id1040868"></a>
<a name="id467808"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -47,7 +51,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1040970"></a><p class="title"><b>Table<EFBFBD>1.30.<2E>Parameters</b></p>
<a name="id467923"></a><p class="title"><b>Table<EFBFBD>1.30.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -55,95 +59,77 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Key</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Key</span></tt>
</p></td>
<td><p>
Any type
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Key type
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics"></a><h6>
<a name="id1041095"></a>
<a name="id468061"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type.
<span class="bold"><b>Return type</b></span>: Any type.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the result of using
<a href="../functions/at_key.html" title="at_key"><code class="computeroutput"><span class="identifier">at_key</span></code></a> to access the element
with key type <code class="computeroutput"><span class="identifier">Key</span></code> in
<code class="computeroutput"><span class="identifier">Seq</span></code>.
<span class="bold"><b>Semantics</b></span>: Returns the result of using
<a href="../functions/at_key.html" title="at_key"><tt class="computeroutput"><span class="identifier">at_key</span></tt></a> to access the element
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.example"></a><h6>
<a name="id1041226"></a>
<a name="id468209"></a>
<a href="at_key.html#fusion.sequence.intrinsic.metafunctions.at_key.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></code></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 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">
<div class="footnote"><p><sup>[<a name="ftn.id1040762" href="#id1040762">8</a>] </sup>
<a 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 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 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 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>
<div class="footnote"><p><sup>[<a name="ftn.id467690" href="#id467690">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>
</p></div>
</div>
</div>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>back</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="front.html" title="front">
<link rel="previous" href="front.html" title="front">
<link rel="next" href="size.html" title="size">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="front.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="size.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.back"></a><a href="back.html" title="back">back</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.back"></a><a href="back.html" title="back">back</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.back.description"></a><h6>
<a name="id1036228"></a>
<a name="id462638"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/back.html" title="back"><code class="computeroutput"><span class="identifier">back</span></code></a>.
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>
<a name="id1036272"></a>
<a name="id462685"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1036358"></a><p class="title"><b>Table<EFBFBD>1.23.<2E>Parameters</b></p>
<a name="id462782"></a><p class="title"><b>Table<EFBFBD>1.23.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,66 +55,54 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.back.expression_semantics"></a><h6>
<a name="id1036451"></a>
<a name="id462882"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type
<span class="bold"><b>Return type</b></span>: Any type
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: The type returned by dereferencing
an iterator to the last element in the sequence. Equivalent to <code class="computeroutput"><a href="../../../iterator/metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special">&lt;</span><a href="../../../iterator/metafunctions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special">&lt;</span><a href="end.html" title="end"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></code></a><span class="special">&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></code>.
<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.example"></a><h6>
<a name="id1036654"></a>
<a name="id463112"></a>
<a href="back.html#fusion.sequence.intrinsic.metafunctions.back.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">back</span></code></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>
<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>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>begin</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="end.html" title="end">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="end.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.begin"></a><a href="begin.html" title="begin">begin</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.begin"></a><a href="begin.html" title="begin">begin</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.begin.description"></a><h6>
<a name="id1033899"></a>
<a name="id460045"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a>.
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>
<a name="id1033942"></a>
<a name="id460092"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1034028"></a><p class="title"><b>Table<EFBFBD>1.19.<2E>Parameters</b></p>
<a name="id460188"></a><p class="title"><b>Table<EFBFBD>1.19.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,68 +55,56 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.begin.expression_semantics"></a><h6>
<a name="id1034121"></a>
<a name="id460289"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.expression_semantics">Expression
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>
<span class="bold"><strong>Return type</strong></span>: An iterator modelling the
same traversal concept as <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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>.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the type of an iterator
to the first element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1034227"></a>
<a name="id460408"></a>
<a href="begin.html#fusion.sequence.intrinsic.metafunctions.begin.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="keyword">typedef</span> <a href="begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special">&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>
<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="../../../iterator/metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special">&lt;</span><span class="identifier">it</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>
<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>
<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="../../../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><span class="identifier">it</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>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>empty</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="end.html" title="end">
<link rel="previous" href="end.html" title="end">
<link rel="next" href="front.html" title="front">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="end.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="front.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.empty"></a><a href="empty.html" title="empty">empty</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.empty"></a><a href="empty.html" title="empty">empty</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.empty.description"></a><h6>
<a name="id1035053"></a>
<a name="id461329"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/empty.html" title="empty"><code class="computeroutput"><span class="identifier">empty</span></code></a>.
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>
<a name="id1035096"></a>
<a name="id461377"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1035183"></a><p class="title"><b>Table<EFBFBD>1.21.<2E>Parameters</b></p>
<a name="id461474"></a><p class="title"><b>Table<EFBFBD>1.21.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,71 +55,59 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.empty.expression_semantics"></a><h6>
<a name="id1035276"></a>
<a name="id461575"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
<span class="bold"><b>Return type</b></span>: An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
Integral Constant</a>
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
if <code class="computeroutput"><span class="identifier">Seq</span></code> has zero elements,
<code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code> otherwise.
<span class="bold"><b>Semantics</b></span>: Returns <tt class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>
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.example"></a><h6>
<a name="id1035417"></a>
<a name="id461733"></a>
<a href="empty.html#fusion.sequence.intrinsic.metafunctions.empty.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></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"><code class="computeroutput"><span class="identifier">vector</span></code></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>
<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>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a href="empty.html" title="empty"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">empty</span></code></a><span class="special">&lt;</span><span class="identifier">empty_vec</span><span class="special">&gt;));</span>
<span class="identifier">BOOST_MPL_ASSERT_NOT</span><span class="special">((</span><a href="empty.html" title="empty"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">empty</span></code></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;));</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a href="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">empty_vec</span><span class="special">&gt;));</span>
<span class="identifier">BOOST_MPL_ASSERT_NOT</span><span class="special">((</span><a href="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">vec</span><span class="special">&gt;));</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>end</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="begin.html" title="begin">
<link rel="previous" href="begin.html" title="begin">
<link rel="next" href="empty.html" title="empty">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="begin.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="empty.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.end"></a><a href="end.html" title="end">end</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.end"></a><a href="end.html" title="end">end</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.end.description"></a><h6>
<a name="id1034453"></a>
<a name="id460662"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/end.html" title="end"><code class="computeroutput"><span class="identifier">end</span></code></a>.
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>
<a name="id1034497"></a>
<a name="id460709"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1034583"></a><p class="title"><b>Table<EFBFBD>1.20.<2E>Parameters</b></p>
<a name="id460806"></a><p class="title"><b>Table<EFBFBD>1.20.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,68 +55,56 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.end.expression_semantics"></a><h6>
<a name="id1034676"></a>
<a name="id460906"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.expression_semantics">Expression
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>
<span class="bold"><strong>Return type</strong></span>: A model of the same traversal
concept as <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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>.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the type of an iterator
one past the end of <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1034781"></a>
<a name="id461024"></a>
<a href="end.html#fusion.sequence.intrinsic.metafunctions.end.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
<span class="keyword">typedef</span> <a href="../../../iterator/metafunctions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special">&lt;</span><a href="end.html" title="end"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></code></a><span class="special">&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>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a href="../../../iterator/metafunctions/equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special">&lt;</span><span class="identifier">first</span><span class="special">,</span> <a href="begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special">&lt;</span><span class="identifier">vec</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;))</span>
<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>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a href="../../../iterator/metafunctions/equal_to.html" title="equal_to"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></tt></a><span class="special">&lt;</span><span class="identifier">first</span><span class="special">,</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="special">&gt;))</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>front</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="empty.html" title="empty">
<link rel="previous" href="empty.html" title="empty">
<link rel="next" href="back.html" title="back">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="empty.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="back.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.front"></a><a href="front.html" title="front">front</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.front"></a><a href="front.html" title="front">front</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.front.description"></a><h6>
<a name="id1035648"></a>
<a name="id461992"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/front.html" title="front"><code class="computeroutput"><span class="identifier">front</span></code></a>.
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>
<a name="id1035692"></a>
<a name="id462040"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1035779"></a><p class="title"><b>Table<EFBFBD>1.22.<2E>Parameters</b></p>
<a name="id462137"></a><p class="title"><b>Table<EFBFBD>1.22.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,67 +55,55 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.front.expression_semantics"></a><h6>
<a name="id1035871"></a>
<a name="id462238"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type
<span class="bold"><b>Return type</b></span>: Any type
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: The type returned by dereferencing
an iterator to the first element in <code class="computeroutput"><span class="identifier">Seq</span></code>.
Equivalent to <code class="computeroutput"><a href="../../../iterator/metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special">&lt;</span><a href="begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special">&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></code>.
<span class="bold"><b>Semantics</b></span>: The type returned by dereferencing
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.example"></a><h6>
<a name="id1036049"></a>
<a name="id462439"></a>
<a href="front.html#fusion.sequence.intrinsic.metafunctions.front.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">front</span></code></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>
<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>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>has_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="value_at_c.html" title="value_at_c">
<link rel="previous" href="value_at_c.html" title="value_at_c">
<link rel="next" href="at_key.html" title="at_key">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="value_at_c.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="at_key.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.has_key"></a><a href="has_key.html" title="has_key">has_key</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.has_key"></a><a href="has_key.html" title="has_key">has_key</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.has_key.description"></a><h6>
<a name="id1039990"></a>
<a name="id466829"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/has_key.html" title="has_key"><code class="computeroutput"><span class="identifier">has_key</span></code></a>.
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>
<a name="id1040034"></a>
<a name="id466877"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -45,7 +49,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1040137"></a><p class="title"><b>Table<EFBFBD>1.29.<2E>Parameters</b></p>
<a name="id466993"></a><p class="title"><b>Table<EFBFBD>1.29.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -53,89 +57,71 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Key</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Key</span></tt>
</p></td>
<td><p>
Any type
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Key type
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics"></a><h6>
<a name="id1040261"></a>
<a name="id467130"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
<span class="bold"><b>Return type</b></span>: An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
Integral Constant</a>.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns <code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code>
if <code class="computeroutput"><span class="identifier">Seq</span></code> contains an element
with key type <code class="computeroutput"><span class="identifier">Key</span></code>, returns
<code class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code> otherwise.
<span class="bold"><b>Semantics</b></span>: Returns <tt class="computeroutput"><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>
if <tt class="computeroutput"><span class="identifier">Seq</span></tt> contains an element
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.example"></a><h6>
<a name="id1040422"></a>
<a name="id467310"></a>
<a href="has_key.html#fusion.sequence.intrinsic.metafunctions.has_key.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">has_key</span></code></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">BOOST_MPL_ASSERT_NOT</span><span class="special">((</span><a href="has_key.html" title="has_key"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">has_key</span></code></a><span class="special">&lt;</span><span class="identifier">mymap</span><span class="special">,</span> <span class="keyword">void</span><span class="special">*&gt;));</span>
<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>
<span class="identifier">BOOST_MPL_ASSERT_NOT</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">void</span><span class="special">*&gt;));</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>size</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="back.html" title="back">
<link rel="previous" href="back.html" title="back">
<link rel="next" href="at.html" title="at">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="back.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="at.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.size"></a><a href="size.html" title="size">size</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.size"></a><a href="size.html" title="size">size</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.size.description"></a><h6>
<a name="id1036833"></a>
<a name="id463312"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/size.html" title="size"><code class="computeroutput"><span class="identifier">size</span></code></a>.
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>
<a name="id1036877"></a>
<a name="id463359"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1036963"></a><p class="title"><b>Table<EFBFBD>1.24.<2E>Parameters</b></p>
<a name="id463456"></a><p class="title"><b>Table<EFBFBD>1.24.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,67 +55,55 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.size.expression_semantics"></a><h6>
<a name="id1037056"></a>
<a name="id463555"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
<span class="bold"><b>Return type</b></span>: An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
Integral Constant</a>.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the number of elements
in <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1037158"></a>
<a name="id463670"></a>
<a href="size.html#fusion.sequence.intrinsic.metafunctions.size.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></code></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>
<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>
<span class="identifier">BOOST_MPL_ASSERT_RELATION</span><span class="special">(</span><span class="identifier">size_mpl_integral_constant</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="special">==,</span> <span class="number">3</span><span class="special">);</span>
</pre>
</div>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>swap</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="value_at_key.html" title="value_at_key">
<link rel="previous" href="value_at_key.html" title="value_at_key">
<link rel="next" href="../../operator.html" title="Operator">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="value_at_key.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../operator.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.swap"></a><a href="swap.html" title="swap">swap</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.swap"></a><a href="swap.html" title="swap">swap</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.swap.description"></a><h6>
<a name="id1042182"></a>
<a name="id469274"></a>
<a href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.description">Description</a>
</h6>
<p>
Returns the return type of swap.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.swap.synopsis"></a><h6>
<a name="id1042210"></a>
<a name="id469305"></a>
<a href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Seq1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Seq2</span><span class="special">&gt;</span>
@ -43,7 +47,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1042314"></a><p class="title"><b>Table<EFBFBD>1.32.<2E>Parameters</b></p>
<a name="id469422"></a><p class="title"><b>Table<EFBFBD>1.32.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -51,55 +55,43 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameters
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody><tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq1</span></code>, <code class="computeroutput"><span class="identifier">Seq2</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq1</span></tt>, <tt class="computeroutput"><span class="identifier">Seq2</span></tt>
</p></td>
<td><p>
Models of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
The sequences being swapped
</p>
</td>
</p></td>
</tr></tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.swap.expression_semantics"></a><h6>
<a name="id1042418"></a>
<a name="id469536"></a>
<a href="swap.html#fusion.sequence.intrinsic.metafunctions.swap.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><span class="keyword">void</span></code>.
<span class="bold"><b>Return type</b></span>: <tt class="computeroutput"><span class="keyword">void</span></tt>.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Always returns <code class="computeroutput"><span class="keyword">void</span></code>.
<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;

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>value_at</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="at_c.html" title="at_c">
<link rel="previous" href="at_c.html" title="at_c">
<link rel="next" href="value_at_c.html" title="value_at_c">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="at_c.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="value_at_c.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.value_at"></a><a href="value_at.html" title="value_at">value_at</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.value_at"></a><a href="value_at.html" title="value_at">value_at</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.description"></a><h6>
<a name="id1038797"></a>
<a name="id465499"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.description">Description</a>
</h6>
<p>
Returns the actual type at a given index from the <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.synopsis"></a><h6>
<a name="id1038832"></a>
<a name="id465536"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -45,7 +49,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1038934"></a><p class="title"><b>Table<EFBFBD>1.27.<2E>Parameters</b></p>
<a name="id465652"></a><p class="title"><b>Table<EFBFBD>1.27.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -53,86 +57,68 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">N</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">N</span></tt>
</p></td>
<td><p>
An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL
Integral Constant</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Index of element
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics"></a><h6>
<a name="id1039066"></a>
<a name="id465797"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type.
<span class="bold"><b>Return type</b></span>: Any type.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the actual type at
the <code class="computeroutput"><span class="identifier">N</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1039181"></a>
<a name="id465925"></a>
<a href="value_at.html#fusion.sequence.intrinsic.metafunctions.value_at.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at</span></code></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>
<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>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>value_at_c</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="value_at.html" title="value_at">
<link rel="previous" href="value_at.html" title="value_at">
<link rel="next" href="has_key.html" title="has_key">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="value_at.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="has_key.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c"></a><a href="value_at_c.html" title="value_at_c">value_at_c</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c"></a><a href="value_at_c.html" title="value_at_c">value_at_c</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.description"></a><h6>
<a name="id1039413"></a>
<a name="id466185"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.description">Description</a>
</h6>
<p>
Returns the actual type at a given index from the <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis"></a><h6>
<a name="id1039448"></a>
<a name="id466223"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -45,7 +49,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1039551"></a><p class="title"><b>Table<EFBFBD>1.28.<2E>Parameters</b></p>
<a name="id466339"></a><p class="title"><b>Table<EFBFBD>1.28.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -53,85 +57,67 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">M</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">M</span></tt>
</p></td>
<td><p>
Positive integer index
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Index of element
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics"></a><h6>
<a name="id1039676"></a>
<a name="id466476"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type
<span class="bold"><b>Return type</b></span>: Any type
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the actual type at
the <code class="computeroutput"><span class="identifier">M</span></code>th element of <code class="computeroutput"><span class="identifier">Seq</span></code>.
<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.example"></a><h6>
<a name="id1039792"></a>
<a name="id466606"></a>
<a href="value_at_c.html#fusion.sequence.intrinsic.metafunctions.value_at_c.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_at_c</span></code></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>
<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>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

View File

@ -3,10 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>value_at_key</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="at_key.html" title="at_key">
<link rel="previous" href="at_key.html" title="at_key">
<link rel="next" href="swap.html" title="swap">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,17 +23,21 @@
<a accesskey="p" href="at_key.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="swap.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key"></a><a href="value_at_key.html" title="value_at_key">value_at_key</a></h5></div></div></div>
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key"></a><a href="value_at_key.html" title="value_at_key">value_at_key</a>
</h5></div></div>
<div></div>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.description"></a><h6>
<a name="id1041517"></a>
<a name="id468531"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.description">Description</a>
</h6>
<p>
Returns the actual element type associated with a Key from the <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis"></a><h6>
<a name="id1041552"></a>
<a name="id468569"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -45,7 +49,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id1041654"></a><p class="title"><b>Table<EFBFBD>1.31.<2E>Parameters</b></p>
<a name="id468684"></a><p class="title"><b>Table<EFBFBD>1.31.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -53,86 +57,68 @@
<col>
</colgroup>
<thead><tr>
<th>
<p>
<th><p>
Parameter
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Requirement
</p>
</th>
<th>
<p>
</p></th>
<th><p>
Description
</p>
</th>
</p></th>
</tr></thead>
<tbody>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Seq</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Seq</span></tt>
</p></td>
<td><p>
A model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
Sequence</a>
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Argument sequence
</p>
</td>
</p></td>
</tr>
<tr>
<td>
<p>
<code class="computeroutput"><span class="identifier">Key</span></code>
</p>
</td>
<td>
<p>
<td><p>
<tt class="computeroutput"><span class="identifier">Key</span></tt>
</p></td>
<td><p>
Any type
</p>
</td>
<td>
<p>
</p></td>
<td><p>
Key type
</p>
</td>
</p></td>
</tr>
</tbody>
</table>
</div>
<a name="fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics"></a><h6>
<a name="id1041778"></a>
<a name="id468823"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.expression_semantics">Expression
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>
</pre>
<p>
<span class="bold"><strong>Return type</strong></span>: Any type.
<span class="bold"><b>Return type</b></span>: Any type.
</p>
<p>
<span class="bold"><strong>Semantics</strong></span>: Returns the actual element
type associated with key type <code class="computeroutput"><span class="identifier">Key</span></code>
in <code class="computeroutput"><span class="identifier">Seq</span></code>.
<span class="bold"><b>Semantics</b></span>: Returns the actual element
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.example"></a><h6>
<a name="id1041894"></a>
<a name="id468952"></a>
<a href="value_at_key.html#fusion.sequence.intrinsic.metafunctions.value_at_key.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a href="../../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special">&lt;</span><a href="../../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">pair</span></code></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"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_key</span></code></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>
<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>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>