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>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>