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>deref</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="value_of.html" title="value_of">
@ -27,14 +27,14 @@
<a name="fusion.iterator.metafunctions.deref"></a><a class="link" href="deref.html" title="deref">deref</a>
</h4></div></div></div>
<a name="fusion.iterator.metafunctions.deref.description"></a><h6>
<a name="id571790"></a>
<a name="id686878"></a>
<a class="link" href="deref.html#fusion.iterator.metafunctions.deref.description">Description</a>
</h6>
<p>
Returns the type that will be returned by dereferencing an iterator.
</p>
<a name="fusion.iterator.metafunctions.deref.synposis"></a><h6>
<a name="id571807"></a>
<a name="id686894"></a>
<a class="link" href="deref.html#fusion.iterator.metafunctions.deref.synposis">Synposis</a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
@ -46,7 +46,7 @@
<span class="special">};</span>
</pre>
<div class="table">
<a name="id571879"></a><p class="title"><b>Table<EFBFBD>1.12.<2E>Parameters</b></p>
<a name="id686966"></a><p class="title"><b>Table<EFBFBD>1.12.<2E>Parameters</b></p>
<div class="table-contents"><table class="table" summary="Parameters">
<colgroup>
<col>
@ -91,7 +91,7 @@
</table></div>
</div>
<br class="table-break"><a name="fusion.iterator.metafunctions.deref.expression_semantics"></a><h6>
<a name="id571963"></a>
<a name="id687050"></a>
<a class="link" href="deref.html#fusion.iterator.metafunctions.deref.expression_semantics">Expression
Semantics</a>
</h6>
@ -105,14 +105,14 @@
an iterator of type <code class="computeroutput"><span class="identifier">I</span></code>.
</p>
<a name="fusion.iterator.metafunctions.deref.header"></a><h6>
<a name="id572038"></a>
<a name="id687125"></a>
<a class="link" href="deref.html#fusion.iterator.metafunctions.deref.header">Header</a>
</h6>
<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">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<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">include</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.iterator.metafunctions.deref.example"></a><h6>
<a name="id572146"></a>
<a name="id687233"></a>
<a class="link" href="deref.html#fusion.iterator.metafunctions.deref.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">int</span><span class="special">&amp;&gt;</span> <span class="identifier">vec</span><span class="special">;</span>