fix for #2355: discrepancy between std::accumulate and fusion::accumulate

[SVN r57125]
This commit is contained in:
Christopher Schmidt
2009-10-24 10:59:01 +00:00
parent 43f861ca87
commit 35e469e2d5
266 changed files with 1625 additions and 1614 deletions

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>at</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.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="size.html" title="size">
@ -27,16 +27,16 @@
<a name="fusion.sequence.intrinsic.metafunctions.at"></a><a class="link" href="at.html" title="at">at</a>
</h5></div></div></div>
<a name="fusion.sequence.intrinsic.metafunctions.at.description"></a><h6>
<a name="id599417"></a>
<a name="id715319"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.description">Description</a>
</h6>
<p>
Returns the result type of <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>
<sup>[<a name="id599438" href="#ftn.id599438" class="footnote">6</a>]</sup>
<sup>[<a name="id715340" href="#ftn.id715340" class="footnote">6</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.synopsis"></a><h6>
<a name="id599508"></a>
<a name="id715410"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.synopsis">Synopsis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -48,7 +48,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id599592"></a><p class="title"><b>Table<EFBFBD>1.25.<2E>Parameters</b></p>
<a name="id715494"></a><p class="title"><b>Table<EFBFBD>1.25.<2E>Parameters</b></p>
<div class="table-contents"><table class="table" summary="Parameters">
<colgroup>
<col>
@ -113,7 +113,7 @@
</table></div>
</div>
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at.expression_semantics"></a><h6>
<a name="id599711"></a>
<a name="id715613"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.expression_semantics">Expression
Semantics</a>
</h6>
@ -130,7 +130,7 @@
/sequence/intrinsic/at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at.example"></a><h6>
<a name="id599809"></a>
<a name="id715711"></a>
<a class="link" href="at.html#fusion.sequence.intrinsic.metafunctions.at.example">Example</a>
</h6>
<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" 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">float</span><span class="special">,</span><span class="keyword">char</span><span class="special">&gt;</span> <span class="identifier">vec</span><span class="special">;</span>
@ -138,7 +138,7 @@
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id599438" href="#id599438" class="para">6</a>] </sup>
<div class="footnote"><p><sup>[<a name="ftn.id715340" href="#id715340" class="para">6</a>] </sup>
<a class="link" href="at.html" title="at"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at</span></code></a> reflects the actual return
type of the function <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a>. <a class="link" href="../../../sequence.html" title="Sequence">Sequence</a>(s)
typically return references to its elements via the <a class="link" href="../functions/at.html" title="at"><code class="computeroutput"><span class="identifier">at</span></code></a> function. If you want