introduces documentation for deduce / deduce_sequence

[SVN r36813]
This commit is contained in:
Tobias Schwinger
2007-01-27 10:52:43 +00:00
parent 1c542fa544
commit 586440e16e
215 changed files with 4061 additions and 3767 deletions

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>end</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" 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">
@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.intrinsics.metafunctions.end"></a><a href="end.html" title="end">end</a></h5></div></div></div>
<a name="fusion.sequences.intrinsics.metafunctions.end.description"></a><h6>
<a name="id513554"></a>
<a name="id1012175"></a>
<a href="end.html#fusion.sequences.intrinsics.metafunctions.end.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/end.html" title="end"><tt class="computeroutput"><span class="identifier">end</span></tt></a>.
Returns the result type of <a href="../functions/end.html" title="end"><code class="computeroutput"><span class="identifier">end</span></code></a>.
</p>
<a name="fusion.sequences.intrinsics.metafunctions.end.synopsis"></a><h6>
<a name="id513601"></a>
<a name="id1012216"></a>
<a href="end.html#fusion.sequences.intrinsics.metafunctions.end.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@ -44,7 +44,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id513698"></a><p class="title"><b>Table<EFBFBD>1.20.<2E>Parameters</b></p>
<a name="id1012301"></a><p class="title"><b>Table<EFBFBD>1.20.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -57,7 +57,7 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">Seq</span></tt></td>
<td><code class="computeroutput"><span class="identifier">Seq</span></code></td>
<td>A
model of <a href="../../concepts/forward_sequence.html" title="Forward
Sequence">Forward
@ -68,7 +68,7 @@
</table>
</div>
<a name="fusion.sequences.intrinsics.metafunctions.end.expression_semantics"></a><h6>
<a name="id513773"></a>
<a name="id1012369"></a>
<a href="end.html#fusion.sequences.intrinsics.metafunctions.end.expression_semantics">Expression
Semantics</a>
</h6>
@ -76,28 +76,28 @@
<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"><b>Return type</b></span>: A model of the same traversal
concept as <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
<span class="bold"><strong>Return type</strong></span>: A model of the same traversal
concept as <code class="computeroutput"><span class="identifier">Seq</span></code>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Returns the type of an iterator
one past the end of <tt class="computeroutput"><span class="identifier">Seq</span></tt>.
<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>.
</p>
<a name="fusion.sequences.intrinsics.metafunctions.end.header"></a><h6>
<a name="id513884"></a>
<a name="id1012467"></a>
<a href="end.html#fusion.sequences.intrinsics.metafunctions.end.header">Header</a>
</h6>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">/</span><span class="identifier">end</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequences.intrinsics.metafunctions.end.example"></a><h6>
<a name="id513988"></a>
<a name="id1012560"></a>
<a href="end.html#fusion.sequences.intrinsics.metafunctions.end.example">Example</a>
</h6>
<pre class="programlisting">
<span class="keyword">typedef</span> <a href="../../containers/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="../../../iterators/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="../../../iterators/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>
<span class="keyword">typedef</span> <a href="../../containers/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="../../../iterators/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="../../../iterators/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>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>