summaryrefslogtreecommitdiff
path: root/doc/html/hash/combine.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/hash/combine.html')
-rw-r--r--doc/html/hash/combine.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/hash/combine.html b/doc/html/hash/combine.html
index 80a26bf346..22f09f7a16 100644
--- a/doc/html/hash/combine.html
+++ b/doc/html/hash/combine.html
@@ -70,7 +70,7 @@
<p>
Calls to hash_combine incrementally build the hash from the different members
of point, it can be repeatedly called for any number of elements. It calls
- <code class="computeroutput"><a class="link" href="reference.html#boost.hash_value_idp38706144">hash_value</a></code> on the supplied
+ <code class="computeroutput"><a class="link" href="reference.html#boost.hash_val_idm45507095703056">hash_value</a></code> on the supplied
element, and combines it with the seed.
</p>
<p>
@@ -106,17 +106,17 @@ If you are calculating a hash value for data
</td></tr>
</table></div>
<p>
- To calculate the hash of an iterator range you can use <code class="computeroutput"><a class="link" href="reference.html#boost.hash_range_idp93681104">boost::hash_range</a></code>:
+ To calculate the hash of an iterator range you can use <code class="computeroutput"><a class="link" href="reference.html#boost.hash_ran_idm45507096028608">boost::hash_range</a></code>:
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">&gt;</span> <span class="identifier">some_strings</span><span class="special">;</span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">hash</span> <span class="special">=</span> <code class="computeroutput"><a class="link" href="reference.html#boost.hash_range_idp93681104">boost::hash_range</a></code><span class="special">(</span><span class="identifier">some_strings</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">some_strings</span><span class="special">.</span><span class="identifier">end</span><span class="special">());</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">hash</span> <span class="special">=</span> <code class="computeroutput"><a class="link" href="reference.html#boost.hash_ran_idm45507096028608">boost::hash_range</a></code><span class="special">(</span><span class="identifier">some_strings</span><span class="special">.</span><span class="identifier">begin</span><span class="special">(),</span> <span class="identifier">some_strings</span><span class="special">.</span><span class="identifier">end</span><span class="special">());</span>
</pre>
<p>
Note that when writing template classes, you might not want to include the
main hash header as it's quite an expensive include that brings in a lot of
other headers, so instead you can include the <code class="computeroutput"><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">functional</span><span class="special">/</span><span class="identifier">hash_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
header which forward declares <code class="computeroutput"><a class="link" href="../boost/hash.html" title="Struct template hash">boost::hash</a></code>,
- <code class="computeroutput"><a class="link" href="reference.html#boost.hash_range_idp93681104">boost::hash_range</a></code> and
+ <code class="computeroutput"><a class="link" href="reference.html#boost.hash_ran_idm45507096028608">boost::hash_range</a></code> and
<code class="computeroutput"><a class="link" href="reference.html#boost.hash_combine">boost::hash_combine</a></code>.
You'll need to include the main header before instantiating <code class="computeroutput"><a class="link" href="../boost/hash.html" title="Struct template hash">boost::hash</a></code>.
When using a container that uses <code class="computeroutput"><a class="link" href="../boost/hash.html" title="Struct template hash">boost::hash</a></code>