diff options
Diffstat (limited to 'doc/html/id2393344.html')
-rw-r--r-- | doc/html/id2393344.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/doc/html/id2393344.html b/doc/html/id2393344.html new file mode 100644 index 0000000000..70a3f3e701 --- /dev/null +++ b/doc/html/id2393344.html @@ -0,0 +1,62 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Function hash_value</title> +<link rel="stylesheet" href="boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="index.html" title="The Boost C++ Libraries"> +<link rel="up" href="hash/reference_.html#id2350414" title="Header <boost/functional/hash/hash.hpp>"> +<link rel="prev" href="id2503912.html" title="Function hash_value"> +<link rel="next" href="id2354316.html" title="Function hash_value"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"> +<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> +<td align="center"><a href="../../index.htm">Home</a></td> +<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="../../people/people.htm">People</a></td> +<td align="center"><a href="../../more/faq.htm">FAQ</a></td> +<td align="center"><a href="../../more/index.htm">More</a></td> +</table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="id2503912.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="hash/reference_.html#id2350414"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="id2354316.html"><img src="images/next.png" alt="Next"></a> +</div> +<div class="refentry" lang="en"> +<a name="id2393344"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Function hash_value</span></h2> +<p>boost::hash_value — + Implementation of a hash function for built in arrays. + </p> +</div> +<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"> +<span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>unsigned</strong></span> N> <span class="type">std::size_t</span> hash_value(T (&val)[N] ); +<span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>unsigned</strong></span> N> <span class="type">std::size_t</span> hash_value(<span class="bold"><strong>const</strong></span> T (&val)[N] );</pre></div> +<div class="refsect1" lang="en"> +<a name="id2705367"></a><h2>Description</h2> +<p> + Generally shouldn't be called directly by users, instead they should use + <code class="computeroutput"><a href="boost/hash.html" title="Struct template hash">boost::hash</a></code>, <code class="computeroutput"><a href="hash_range.html" title="Function hash_range">boost::hash_range</a></code> + or <code class="computeroutput"><a href="hash_combine.html" title="Function template hash_combine">boost::hash_combine</a></code> which + call hash_value without namespace qualification so that overloads + for custom types are found via ADL. + </p> +<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Notes</span></b>: + + Overloads for other types supplied in other headers.<p>This is an extension to TR1</p><br><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Returns</span></b>: + + <code class="computeroutput">hash_range(val, val+N)</code></p> +</div> +</div> +<table width="100%"><tr> +<td align="left"></td> +<td align="right"><small>Copyright © 2005 Daniel James</small></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="id2503912.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="hash/reference_.html#id2350414"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="id2354316.html"><img src="images/next.png" alt="Next"></a> +</div> +</body> +</html> |