diff options
Diffstat (limited to 'doc/html/hash.html')
-rw-r--r-- | doc/html/hash.html | 111 |
1 files changed, 103 insertions, 8 deletions
diff --git a/doc/html/hash.html b/doc/html/hash.html index b7b722ffb9..541a5e59f3 100644 --- a/doc/html/hash.html +++ b/doc/html/hash.html @@ -1,10 +1,105 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> - <head> - <meta http-equiv="refresh" content="0; URL=http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/hash.html"> - </head> - <body> - Automatic redirection failed, please go to - <a href="http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/hash.html">http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/hash.html</a> - </body> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 5. Boost.Functional/Hash</title> +<link rel="stylesheet" href="boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="The Boost C++ Libraries"> +<link rel="up" href="libraries.html" title="Part I. The Boost C++ Libraries"> +<link rel="prev" href="function/testsuite.html" title="Testsuite"> +<link rel="next" href="hash/tutorial.html" title=" Tutorial"> +</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="function/testsuite.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><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="hash/tutorial.html"><img src="images/next.png" alt="Next"></a> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div> +<div><h2 class="title"> +<a name="hash"></a>Chapter 5. Boost.Functional/Hash</h2></div> +<div><div class="author"><h3 class="author"> +<span class="firstname">Daniel</span> <span class="surname">James</span> +</h3></div></div> +<div><p class="copyright">Copyright © 2005 Daniel James</p></div> +<div><div class="legalnotice"> +<a name="id1215750"></a><p> + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top"> + http://www.boost.org/LICENSE_1_0.txt + </a>) + + </p> +</div></div> +</div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="section"><a href="hash.html#hash.intro"> Introduction</a></span></dt> +<dt><span class="section"><a href="hash/tutorial.html"> Tutorial</a></span></dt> +<dt><span class="section"><a href="hash/custom.html"> Extending boost::hash for a custom data type</a></span></dt> +<dt><span class="section"><a href="hash/combine.html"> Combining hash values</a></span></dt> +<dt><span class="section"><a href="hash/portability.html"> Portability</a></span></dt> +<dt><span class="section"><a href="hash/reference_.html"> Reference</a></span></dt> +<dt><span class="section"><a href="hash/links.html"> Links</a></span></dt> +<dt><span class="section"><a href="hash/acknowledgements.html"> Acknowledgements</a></span></dt> +</dl> +</div> +<div class="section" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="hash.intro"></a> Introduction</h3></div></div></div> +<p><code class="computeroutput"><a href="boost/hash.html" title="Struct template hash">boost::hash</a></code> is an implementation of the <a href="http://en.wikipedia.org/wiki/Hash_function" target="_top">hash function</a> object +specified by the <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1745.pdf" target="_top">Technical Report</a>. It is intended for use as the default hash function +for unordered associative containers, and the <a href="../../libs/multi_index/doc/index.html" target="_top">Boost Multi-Index Containers Library</a>'s hash indexes.</p> +<p> +As it is compliant with the <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1745.pdf" target="_top">Technical Report</a>, it will work with:</p> +<div class="itemizedlist"><ul type="disc"> +<li> +integers +</li> +<li> +floats +</li> +<li> +pointers +</li> +<li> +strings +</li> +</ul></div> +<p> +It also implements the extension proposed by Peter Dimov in issue 6.18 of the +<a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1756.pdf" target="_top">Library Extension Technical Report Issues List</a>, this adds support for:</p> +<div class="itemizedlist"><ul type="disc"> +<li> +arrays +</li> +<li><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></code></li> +<li> +the standard containers. +</li> +<li> +extending <code class="computeroutput"><a href="boost/hash.html" title="Struct template hash">boost::hash</a></code> for custom types. +</li> +</ul></div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"><small><p>Last revised: July 31, 2005 at 15:55:26 GMT</p></small></td> +<td align="right"><small></small></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="function/testsuite.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.html"><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="hash/tutorial.html"><img src="images/next.png" alt="Next"></a> +</div> +</body> </html> |