revises function object concepts and functional module documenation to reflect

boost::result_of-based result computation


[SVN r38209]
This commit is contained in:
Tobias Schwinger
2007-07-13 19:25:34 +00:00
parent f05493abf0
commit 9df373af5f
227 changed files with 10684 additions and 4457 deletions

View File

@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="fusion.iterators.functions.distance"></a><a href="distance.html" title="distance">distance</a></h4></div></div></div>
<a name="fusion.iterators.functions.distance.description"></a><h5>
<a name="id934003"></a>
<a name="id941091"></a>
<a href="distance.html#fusion.iterators.functions.distance.description">Description</a>
</h5>
<p>
Returns the distance between 2 iterators.
</p>
<a name="fusion.iterators.functions.distance.synopsis"></a><h5>
<a name="id934029"></a>
<a name="id941117"></a>
<a href="distance.html#fusion.iterators.functions.distance.synopsis">Synopsis</a>
</h5>
<pre class="programlisting">
@ -44,7 +44,7 @@
<span class="keyword">typename</span> <a href="../metafunctions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special">&lt;</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">distance</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">j</span><span class="special">);</span>
</pre>
<div class="table">
<a name="id934205"></a><p class="title"><b>Table<EFBFBD>1.5.<2E>Parameters</b></p>
<a name="id941294"></a><p class="title"><b>Table<EFBFBD>1.5.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@ -52,24 +52,45 @@
<col>
</colgroup>
<thead><tr>
<th>Parameter</th>
<th>Requirement</th>
<th>Description</th>
<th>
<p>
Parameter
</p>
</th>
<th>
<p>
Requirement
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr></thead>
<tbody><tr>
<td>
<code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code>
</td>
<td>Models of <a href="../concepts/forward_iterator.html" title="Forward
<p>
<code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code>
</p>
</td>
<td>
<p>
Models of <a href="../concepts/forward_iterator.html" title="Forward
Iterator">Forward
Iterator</a> into the same sequence</td>
<td>The start and
end points of the distance to be measured</td>
Iterator</a> into the same sequence
</p>
</td>
<td>
<p>
The start and end points of the distance to be measured
</p>
</td>
</tr></tbody>
</table>
</div>
<a name="fusion.iterators.functions.distance.expression_semantics"></a><h5>
<a name="id934280"></a>
<a name="id941396"></a>
<a href="distance.html#fusion.iterators.functions.distance.expression_semantics">Expression
Semantics</a>
</h5>
@ -84,14 +105,14 @@
iterators <code class="computeroutput"><span class="identifier">i</span></code> and <code class="computeroutput"><span class="identifier">j</span></code>.
</p>
<a name="fusion.iterators.functions.distance.header"></a><h5>
<a name="id934390"></a>
<a name="id941511"></a>
<a href="distance.html#fusion.iterators.functions.distance.header">Header</a>
</h5>
<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">iterator</span><span class="special">/</span><span class="identifier">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.iterators.functions.distance.example"></a><h5>
<a name="id934473"></a>
<a name="id941596"></a>
<a href="distance.html#fusion.iterators.functions.distance.example">Example</a>
</h5>
<pre class="programlisting">