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_c</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="at.html" title="at">
@ -27,16 +27,16 @@
<a name="fusion.sequence.intrinsic.metafunctions.at_c"></a><a class="link" href="at_c.html" title="at_c">at_c</a>
</h5></div></div></div>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.description"></a><h6>
<a name="id599987"></a>
<a name="id715889"></a>
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.description">Description</a>
</h6>
<p>
Returns the result type of <a class="link" href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a>
<sup>[<a name="id600011" href="#ftn.id600011" class="footnote">7</a>]</sup>
<sup>[<a name="id715913" href="#ftn.id715913" class="footnote">7</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.synopsis"></a><h6>
<a name="id600080"></a>
<a name="id715982"></a>
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.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="id600164"></a><p class="title"><b>Table<EFBFBD>1.26.<2E>Parameters</b></p>
<a name="id716066"></a><p class="title"><b>Table<EFBFBD>1.26.<2E>Parameters</b></p>
<div class="table-contents"><table class="table" summary="Parameters">
<colgroup>
<col>
@ -112,7 +112,7 @@
</table></div>
</div>
<br class="table-break"><a name="fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics"></a><h6>
<a name="id600277"></a>
<a name="id716179"></a>
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.expression_semantics">Expression
Semantics</a>
</h6>
@ -129,7 +129,7 @@
/sequence/intrinsic/at.hpp&gt;
</p>
<a name="fusion.sequence.intrinsic.metafunctions.at_c.example"></a><h6>
<a name="id600373"></a>
<a name="id716275"></a>
<a class="link" href="at_c.html#fusion.sequence.intrinsic.metafunctions.at_c.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>
@ -137,7 +137,7 @@
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id600011" href="#id600011" class="para">7</a>] </sup>
<div class="footnote"><p><sup>[<a name="ftn.id715913" href="#id715913" class="para">7</a>] </sup>
<a class="link" href="at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">at_c</span></code></a> reflects the actual
return type of the function <a class="link" href="../functions/at_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</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_c.html" title="at_c"><code class="computeroutput"><span class="identifier">at_c</span></code></a> function. If you want