forked from boostorg/fusion
revises function object concepts and functional module documenation to reflect
boost::result_of-based result computation [SVN r38209]
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
</p>
|
||||
<p>
|
||||
For starters, we shall include all of Fusion's <span class="underline">_sequence</span>_s
|
||||
<sup>[<a name="id900292" href="#ftn.id900292">1</a>]</sup>
|
||||
<sup>[<a name="id906248" href="#ftn.id906248">1</a>]</sup>
|
||||
:
|
||||
</p>
|
||||
<pre class="programlisting">
|
||||
@ -41,7 +41,7 @@
|
||||
</pre>
|
||||
<p>
|
||||
Let's begin with a <code class="computeroutput"><a href="sequences/containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a></code>
|
||||
<sup>[<a name="id900383" href="#ftn.id900383">2</a>]</sup>
|
||||
<sup>[<a name="id906342" href="#ftn.id906342">2</a>]</sup>
|
||||
:
|
||||
</p>
|
||||
<pre class="programlisting">
|
||||
@ -59,7 +59,7 @@
|
||||
Let's see some examples.
|
||||
</p>
|
||||
<a name="fusion.quick_start.print_the_vector_as_xml"></a><h3>
|
||||
<a name="id900789"></a>
|
||||
<a name="id906760"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.print_the_vector_as_xml">Print the vector
|
||||
as XML</a>
|
||||
</h3>
|
||||
@ -105,10 +105,16 @@
|
||||
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../images/caution.png"></td>
|
||||
<th align="left">Caution</th>
|
||||
</tr>
|
||||
<tr><td align="left" valign="top"><p>
|
||||
The result of <code class="computeroutput"><span class="keyword">typeid</span><span class="special">(</span><span class="identifier">x</span><span class="special">).</span><span class="identifier">name</span><span class="special">()</span></code> is platform specific. The code here is
|
||||
just for exposition. Of course you already know that :-)
|
||||
</p></td></tr>
|
||||
<tr><td align="left" valign="top">
|
||||
<p>
|
||||
</p>
|
||||
<p>
|
||||
The result of <code class="computeroutput"><span class="keyword">typeid</span><span class="special">(</span><span class="identifier">x</span><span class="special">).</span><span class="identifier">name</span><span class="special">()</span></code> is platform specific. The code here is
|
||||
just for exposition. Of course you already know that :-)
|
||||
</p>
|
||||
<p>
|
||||
</p>
|
||||
</td></tr>
|
||||
</table></div>
|
||||
<p>
|
||||
<code class="computeroutput"><a href="algorithms/iteration/functions/for_each.html" title="for_each"><code class="computeroutput"><span class="identifier">for_each</span></code></a></code> is generic. With
|
||||
@ -116,7 +122,7 @@
|
||||
print just about any Fusion <a href="sequences.html" title="Sequences">Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.quick_start.print_only_pointers"></a><h3>
|
||||
<a name="id901310"></a>
|
||||
<a name="id907298"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.print_only_pointers">Print only pointers</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -150,7 +156,7 @@
|
||||
Easy, right?
|
||||
</p>
|
||||
<a name="fusion.quick_start.associative_tuples"></a><h3>
|
||||
<a name="id901670"></a>
|
||||
<a name="id907667"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.associative_tuples">Associative tuples</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -225,7 +231,7 @@
|
||||
a <code class="computeroutput"><span class="identifier">dog</span></code> or a whole <code class="computeroutput"><span class="identifier">alternate_universe</span></code>.
|
||||
</p>
|
||||
<a name="fusion.quick_start.tip_of_the_iceberg"></a><h3>
|
||||
<a name="id902578"></a>
|
||||
<a name="id908603"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.tip_of_the_iceberg">Tip of the Iceberg</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -236,12 +242,12 @@
|
||||
</p>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id900292" href="#id900292">1</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id906248" href="#id906248">1</a>] </sup>
|
||||
There are finer grained header files available if you wish to have more
|
||||
control over which components to include (see section <a href="organization.html" title="Organization">Orgainization</a>
|
||||
for details).
|
||||
</p></div>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id900383" href="#id900383">2</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id906342" href="#id906342">2</a>] </sup>
|
||||
Unless otherwise noted, components are in namespace <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span></code>.
|
||||
For the sake of simplicity, code in this quick start implies <code class="computeroutput"><span class="keyword">using</span></code> directives for the fusion components
|
||||
we will be using.
|
||||
|
Reference in New Issue
Block a user