Update of
/cvsroot/boost/boost/libs/fusion/doc/html/fusion/algorithms/iteration/functions
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17585/html/fusion/algorithms/iteration/functions
Modified Files:
accumulate.html fold.html for_each.html
Log Message:
revises function object concepts and functional module documenation to reflect
boost::result_of-based result computation
Index: accumulate.html
===================================================================
RCS file:
/cvsroot/boost/boost/libs/fusion/doc/html/fusion/algorithms/iteration/functions/accumulate.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- accumulate.html 25 Feb 2007 22:02:14 -0000 1.13
+++ accumulate.html 13 Jul 2007 19:25:15 -0000 1.14
@@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.algorithms.iteration.functions.accumulate"></a><a
href="accumulate.html" title="accumulate">accumulate</a></h5></div></div></div>
<a name="fusion.algorithms.iteration.functions.accumulate.description"></a><h6>
-<a name="id1082037"></a>
+<a name="id1115707"></a>
<a
href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.description">Description</a>
</h6>
<p>
@@ -37,7 +37,7 @@
<a href="fold.html" title="fold"><code
class="computeroutput"><span class="identifier">fold</span></code></a>.
</p>
<a name="fusion.algorithms.iteration.functions.accumulate.synopsis"></a><h6>
-<a name="id1082113"></a>
+<a name="id1115786"></a>
<a
href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -50,7 +50,7 @@
<span class="identifier">Sequence</span><span class="special">&</span>
<span class="identifier">seq</span><span class="special">,</span> <span
class="identifier">State</span> <span class="keyword">const</span><span
class="special">&</span> <span class="identifier">initial_state</span><span
class="special">,</span> <span class="identifier">F</span> <span
class="keyword">const</span><span class="special">&</span> <span
class="identifier">f</span><span class="special">);</span>
</pre>
<div class="table">
-<a name="id1082340"></a><p class="title"><b>Table 1.33. Parameters</b></p>
+<a name="id1116015"></a><p class="title"><b>Table 1.34. Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@@ -58,42 +58,86 @@
<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">seq</span></code></td>
-<td>A
- model of <a
href="../../../sequences/concepts/forward_sequence.html" title="Forward
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">seq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A model of <a
href="../../../sequences/concepts/forward_sequence.html" title="Forward
Sequence">Forward
- Sequence</a>, <code class="computeroutput"><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">eN</span> <span class="special">....</span><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e2</span><span class="special">,</span><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e1</span><span class="special">,</span><span
class="identifier">initial_state</span><span class="special">)))</span></code>
must be a valid expression for
- each element <code class="computeroutput"><span
class="identifier">e1</span></code> to
- <code class="computeroutput"><span
class="identifier">eN</span></code> in <code class="computeroutput"><span
class="identifier">seq</span></code>
-</td>
-<td>Operation's argument</td>
+ Sequence</a>, <code class="computeroutput"><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">eN</span>
+ <span class="special">....</span><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e2</span><span class="special">,</span><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e1</span><span class="special">,</span><span
class="identifier">initial_state</span><span class="special">)))</span></code>
must be a valid expression for
+ each element <code class="computeroutput"><span
class="identifier">e1</span></code>
+ to <code class="computeroutput"><span
class="identifier">eN</span></code> in <code class="computeroutput"><span
class="identifier">seq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Operation's argument
+ </p>
+ </td>
</tr>
<tr>
-<td><code class="computeroutput"><span
class="identifier">initial_state</span></code></td>
-<td>Any
- type</td>
-<td>Initial state</td>
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">initial_state</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Any type
+ </p>
+ </td>
+<td>
+ <p>
+ Initial state
+ </p>
+ </td>
</tr>
<tr>
-<td><code class="computeroutput"><span class="identifier">f</span></code></td>
-<td>A
- model of binary <a
href="../../../functional/concepts/poly.html" title=" Polymorphic Function
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">f</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A model of binary <a
href="../../../functional/concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
- Function Object</a>
-</td>
-<td>Operation's argument</td>
+ Function Object</a>
+ </p>
+ </td>
+<td>
+ <p>
+ Operation's argument
+ </p>
+ </td>
</tr>
</tbody>
</table>
</div>
<a
name="fusion.algorithms.iteration.functions.accumulate.expression_semantics"></a><h6>
-<a name="id1082544"></a>
+<a name="id1116278"></a>
<a
href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.expression_semantics">Expression
Semantics</a>
</h6>
@@ -108,21 +152,21 @@
where <code class="computeroutput"><span
class="identifier">e1</span> <span class="special">...</span><span
class="identifier">eN</span></code> are the elements of <code
class="computeroutput"><span class="identifier">seq</span></code>.
</p>
<a name="fusion.algorithms.iteration.functions.accumulate.complexity"></a><h6>
-<a name="id1082551"></a>
+<a name="id1116463"></a>
<a
href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.complexity">Complexity</a>
</h6>
<p>
Linear, exactly <code class="computeroutput"><a
href="../../../sequences/intrinsics/metafunctions/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"><</span><span class="identifier">Sequence</span><span
class="special">>::</span><span class="identifier">value</span></code>
applications of <code class="computeroutput"><span
class="identifier">f</span></code>.
</p>
<a name="fusion.algorithms.iteration.functions.accumulate.header"></a><h6>
-<a name="id1082805"></a>
+<a name="id1116547"></a>
<a
href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.header">Header</a>
</h6>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span
class="special"><</span><span class="identifier">boost</span><span
class="special">/</span><span class="identifier">fusion</span><span
class="special">/</span><span class="identifier">algorithm</span><span
class="special">/</span><span class="identifier">iteration</span><span
class="special">/</span><span class="identifier">accumulate</span><span
class="special">.</span><span class="identifier">hpp</span><span
class="special">></span>
</pre>
<a name="fusion.algorithms.iteration.functions.accumulate.example"></a><h6>
-<a name="id1082898"></a>
+<a name="id1116642"></a>
<a
href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.example">Example</a>
</h6>
<pre class="programlisting">
Index: fold.html
===================================================================
RCS file:
/cvsroot/boost/boost/libs/fusion/doc/html/fusion/algorithms/iteration/functions/fold.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- fold.html 25 Feb 2007 22:02:14 -0000 1.13
+++ fold.html 13 Jul 2007 19:25:15 -0000 1.14
@@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.algorithms.iteration.functions.fold"></a><a href="fold.html"
title="fold">fold</a></h5></div></div></div>
<a name="fusion.algorithms.iteration.functions.fold.description"></a><h6>
-<a name="id1080754"></a>
+<a name="id1114351"></a>
<a
href="fold.html#fusion.algorithms.iteration.functions.fold.description">Description</a>
</h6>
<p>
@@ -36,7 +36,7 @@
to each element of a sequence and the previous state.
</p>
<a name="fusion.algorithms.iteration.functions.fold.synopsis"></a><h6>
-<a name="id1080800"></a>
+<a name="id1114398"></a>
<a
href="fold.html#fusion.algorithms.iteration.functions.fold.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -49,7 +49,7 @@
<span class="identifier">Sequence</span><span class="special">&</span>
<span class="identifier">seq</span><span class="special">,</span> <span
class="identifier">State</span> <span class="keyword">const</span><span
class="special">&</span> <span class="identifier">initial_state</span><span
class="special">,</span> <span class="identifier">F</span> <span
class="keyword">const</span><span class="special">&</span> <span
class="identifier">f</span><span class="special">);</span>
</pre>
<div class="table">
-<a name="id1081026"></a><p class="title"><b>Table 1.32. Parameters</b></p>
+<a name="id1114626"></a><p class="title"><b>Table 1.33. Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@@ -57,41 +57,85 @@
<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">seq</span></code></td>
-<td>A
- model of <a
href="../../../sequences/concepts/forward_sequence.html" title="Forward
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">seq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A model of <a
href="../../../sequences/concepts/forward_sequence.html" title="Forward
Sequence">Forward
- Sequence</a>,<code class="computeroutput"><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e</span><span class="special">)</span></code> must be a
valid expression for each
- element <code class="computeroutput"><span
class="identifier">e</span></code> in <code class="computeroutput"><span
class="identifier">seq</span></code>
-</td>
-<td>Operation's argument</td>
+ Sequence</a>,<code class="computeroutput"><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e</span><span class="special">)</span></code> must be a
valid expression for
+ each element <code class="computeroutput"><span
class="identifier">e</span></code>
+ in <code class="computeroutput"><span
class="identifier">seq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Operation's argument
+ </p>
+ </td>
</tr>
<tr>
-<td><code class="computeroutput"><span
class="identifier">initial_state</span></code></td>
-<td>Any
- type</td>
-<td>Initial state</td>
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">initial_state</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Any type
+ </p>
+ </td>
+<td>
+ <p>
+ Initial state
+ </p>
+ </td>
</tr>
<tr>
-<td><code class="computeroutput"><span class="identifier">f</span></code></td>
-<td>A
- model of binary <a
href="../../../functional/concepts/poly.html" title=" Polymorphic Function
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">f</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A model of binary <a
href="../../../functional/concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
- Function Object</a>
-</td>
-<td>Operation's argument</td>
+ Function Object</a>
+ </p>
+ </td>
+<td>
+ <p>
+ Operation's argument
+ </p>
+ </td>
</tr>
</tbody>
</table>
</div>
<a
name="fusion.algorithms.iteration.functions.fold.expression_semantics"></a><h6>
-<a name="id1081174"></a>
+<a name="id1114833"></a>
<a
href="fold.html#fusion.algorithms.iteration.functions.fold.expression_semantics">Expression
Semantics</a>
</h6>
@@ -106,21 +150,21 @@
where <code class="computeroutput"><span
class="identifier">e1</span> <span class="special">...</span><span
class="identifier">eN</span></code> are the elements of <code
class="computeroutput"><span class="identifier">seq</span></code>.
</p>
<a name="fusion.algorithms.iteration.functions.fold.complexity"></a><h6>
-<a name="id1081354"></a>
+<a name="id1115018"></a>
<a
href="fold.html#fusion.algorithms.iteration.functions.fold.complexity">Complexity</a>
</h6>
<p>
Linear, exactly <code class="computeroutput"><a
href="../../../sequences/intrinsics/metafunctions/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"><</span><span class="identifier">Sequence</span><span
class="special">>::</span><span class="identifier">value</span></code>
applications of <code class="computeroutput"><span
class="identifier">f</span></code>.
</p>
<a name="fusion.algorithms.iteration.functions.fold.header"></a><h6>
-<a name="id1081436"></a>
+<a name="id1115102"></a>
<a
href="fold.html#fusion.algorithms.iteration.functions.fold.header">Header</a>
</h6>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span
class="special"><</span><span class="identifier">boost</span><span
class="special">/</span><span class="identifier">fusion</span><span
class="special">/</span><span class="identifier">algorithm</span><span
class="special">/</span><span class="identifier">iteration</span><span
class="special">/</span><span class="identifier">fold</span><span
class="special">.</span><span class="identifier">hpp</span><span
class="special">></span>
</pre>
<a name="fusion.algorithms.iteration.functions.fold.example"></a><h6>
-<a name="id1081529"></a>
+<a name="id1115197"></a>
<a
href="fold.html#fusion.algorithms.iteration.functions.fold.example">Example</a>
</h6>
<pre class="programlisting">
Index: for_each.html
===================================================================
RCS file:
/cvsroot/boost/boost/libs/fusion/doc/html/fusion/algorithms/iteration/functions/for_each.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- for_each.html 25 Feb 2007 22:02:14 -0000 1.13
+++ for_each.html 13 Jul 2007 19:25:15 -0000 1.14
@@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.algorithms.iteration.functions.for_each"></a><a
href="for_each.html" title="for_each">for_each</a></h5></div></div></div>
<a name="fusion.algorithms.iteration.functions.for_each.description"></a><h6>
-<a name="id1083403"></a>
+<a name="id1117148"></a>
<a
href="for_each.html#fusion.algorithms.iteration.functions.for_each.description">Description</a>
</h6>
<p>
Applies a unary function object to each element of a sequence.
</p>
<a name="fusion.algorithms.iteration.functions.for_each.synopsis"></a><h6>
-<a name="id1083432"></a>
+<a name="id1117177"></a>
<a
href="for_each.html#fusion.algorithms.iteration.functions.for_each.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -45,7 +45,7 @@
<span class="identifier">Sequence</span><span class="special">&</span>
<span class="identifier">seq</span><span class="special">,</span> <span
class="identifier">F</span> <span class="keyword">const</span><span
class="special">&</span> <span class="identifier">f</span><span
class="special">);</span>
</pre>
<div class="table">
-<a name="id1101085"></a><p class="title"><b>Table 1.34. Parameters</b></p>
+<a name="id1117355"></a><p class="title"><b>Table 1.35. Parameters</b></p>
<table class="table" summary="Parameters">
<colgroup>
<col>
@@ -53,32 +53,68 @@
<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">seq</span></code></td>
-<td>A
- model of <a
href="../../../sequences/concepts/forward_sequence.html" title="Forward
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">seq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A model of <a
href="../../../sequences/concepts/forward_sequence.html" title="Forward
Sequence">Forward
- Sequence</a>, <code class="computeroutput"><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e</span><span class="special">)</span></code> must be a
valid expression for each
- element <code class="computeroutput"><span
class="identifier">e</span></code> in <code class="computeroutput"><span
class="identifier">seq</span></code>
-</td>
-<td>Operation's argument</td>
+ Sequence</a>, <code class="computeroutput"><span
class="identifier">f</span><span class="special">(</span><span
class="identifier">e</span><span class="special">)</span></code> must be a
valid expression for
+ each element <code class="computeroutput"><span
class="identifier">e</span></code>
+ in <code class="computeroutput"><span
class="identifier">seq</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ Operation's argument
+ </p>
+ </td>
</tr>
<tr>
-<td><code class="computeroutput"><span class="identifier">f</span></code></td>
-<td>A
- unary function object</td>
-<td>Operation's argument</td>
+<td>
+ <p>
+ <code class="computeroutput"><span
class="identifier">f</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ A unary <a
href="../../../functional/concepts/reg_callable.html" title=" Regular Callable
+ Object">Regular
+ Callable Object</a>
+ </p>
+ </td>
+<td>
+ <p>
+ Operation's argument
+ </p>
+ </td>
</tr>
</tbody>
</table>
</div>
<a
name="fusion.algorithms.iteration.functions.for_each.expression_semantics"></a><h6>
-<a name="id1101210"></a>
+<a name="id1117534"></a>
<a
href="for_each.html#fusion.algorithms.iteration.functions.for_each.expression_semantics">Expression
Semantics</a>
</h6>
@@ -93,21 +129,21 @@
in <code class="computeroutput"><span
class="identifier">seq</span></code>.
</p>
<a name="fusion.algorithms.iteration.functions.for_each.complexity"></a><h6>
-<a name="id1101342"></a>
+<a name="id1117673"></a>
<a
href="for_each.html#fusion.algorithms.iteration.functions.for_each.complexity">Complexity</a>
</h6>
<p>
Linear, exactly <code class="computeroutput"><a
href="../../../sequences/intrinsics/metafunctions/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"><</span><span class="identifier">Sequence</span><span
class="special">>::</span><span class="identifier">value</span></code>
applications of <code class="computeroutput"><span
class="identifier">f</span></code>.
</p>
<a name="fusion.algorithms.iteration.functions.for_each.header"></a><h6>
-<a name="id1101424"></a>
+<a name="id1117757"></a>
<a
href="for_each.html#fusion.algorithms.iteration.functions.for_each.header">Header</a>
</h6>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span
class="special"><</span><span class="identifier">boost</span><span
class="special">/</span><span class="identifier">fusion</span><span
class="special">/</span><span class="identifier">algorithm</span><span
class="special">/</span><span class="identifier">iteration</span><span
class="special">/</span><span class="identifier">for_each</span><span
class="special">.</span><span class="identifier">hpp</span><span
class="special">></span>
</pre>
<a name="fusion.algorithms.iteration.functions.for_each.example"></a><h6>
-<a name="id1101517"></a>
+<a name="id1117852"></a>
<a
href="for_each.html#fusion.algorithms.iteration.functions.for_each.example">Example</a>
</h6>
<pre class="programlisting">
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs