Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/hash/reference_.html @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 14.0 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title> Reference</title>
5<link rel="stylesheet" href="../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries">
8<link rel="up" href="../hash.html" title="Chapter 5. Boost.Functional/Hash">
9<link rel="prev" href="portability.html" title=" Portability">
10<link rel="next" href="../boost/hash.html" title="Struct template hash">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%">
14<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../../boost.png"></td>
15<td align="center"><a href="../../../index.htm">Home</a></td>
16<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="../../../people/people.htm">People</a></td>
18<td align="center"><a href="../../../more/faq.htm">FAQ</a></td>
19<td align="center"><a href="../../../more/index.htm">More</a></td>
20</table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="portability.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../hash.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="../boost/hash.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="section" lang="en">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="hash.reference_"></a> Reference</h3></div></div></div>
28<div class="section" lang="en">
29<div class="titlepage"><div><div><h5 class="title">
30<a name="hash.reference"></a>Reference</h5></div></div></div>
31<div class="toc"><dl>
32<dt><span class="section"><a href="reference_.html#hash.reference.specification"></a></span></dt>
33<dt><span class="section"><a href="reference_.html#id2350405">Header &lt;boost/functional/hash.hpp&gt;</a></span></dt>
34<dt><span class="section"><a href="reference_.html#id2350414">Header &lt;boost/functional/hash/hash.hpp&gt;</a></span></dt>
35<dt><span class="section"><a href="reference_.html#id2386217">Header &lt;boost/functional/hash/pair.hpp&gt;</a></span></dt>
36<dt><span class="section"><a href="reference_.html#id2446813">Header &lt;boost/functional/hash/vector.hpp&gt;</a></span></dt>
37<dt><span class="section"><a href="reference_.html#id2431434">Header &lt;boost/functional/hash/list.hpp&gt;</a></span></dt>
38<dt><span class="section"><a href="reference_.html#id2284794">Header &lt;boost/functional/hash/deque.hpp&gt;</a></span></dt>
39<dt><span class="section"><a href="reference_.html#id2473714">Header &lt;boost/functional/hash/set.hpp&gt;</a></span></dt>
40<dt><span class="section"><a href="reference_.html#id2477505">Header &lt;boost/functional/hash/map.hpp&gt;</a></span></dt>
41</dl></div>
42<div class="section" lang="en">
43<div class="titlepage"></div>
44<p>For the full specification, see section 6.3 of the
45        <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1745.pdf" target="_top">C++ Standard Library Technical Report</a>
46        and issue 6.18 of the
47        <a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1756.pdf" target="_top">Library Extension Technical Report Issues List</a>.
48    </p>
49</div>
50<div class="section" lang="en">
51<div class="titlepage"><div><div><h6 class="title">
52<a name="id2350405"></a>Header &lt;<a href="../../../boost/functional/hash.hpp" target="_top">boost/functional/hash.hpp</a>&gt;</h6></div></div></div>
53<p>Includes all the following headers.</p>
54</div>
55<div class="section" lang="en">
56<div class="titlepage"><div><div><h6 class="title">
57<a name="id2350414"></a>Header &lt;<a href="../../../boost/functional/hash/hash.hpp" target="_top">boost/functional/hash/hash.hpp</a>&gt;</h6></div></div></div>
58<p>
59      Defines <code class="computeroutput"><a href="../boost/hash.html" title="Struct template hash">boost::hash</a></code>,
60      the implementation for built in types and
61      <code class="computeroutput">std::string</code> and customisation functions.
62    </p>
63<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
64  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>struct</strong></span> <a href="../boost/hash.html" title="Struct template hash">hash</a>;
65  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../hash_combine.html" title="Function template hash_combine">hash_combine</a>(size_t &amp;, T <span class="bold"><strong>const</strong></span> &amp;);
66  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> It&gt; <span class="type">std::size_t</span> <a href="../hash_range.html" title="Function hash_range">hash_range</a>(It, It);
67  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> It&gt; <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../hash_range.html" title="Function hash_range">hash_range</a>(std::size_t&amp;, It, It);
68  <span class="type">std::size_t</span> <a href="../id2510242.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>int</strong></span>);
69  <span class="type">std::size_t</span> <a href="../id2510242.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
70  <span class="type">std::size_t</span> <a href="../id2510242.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>long</strong></span>);
71  <span class="type">std::size_t</span> <a href="../id2510242.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>long</strong></span>);
72  <span class="type">std::size_t</span> <a href="../id2346601.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>float</strong></span>);
73  <span class="type">std::size_t</span> <a href="../id2346601.html" title="Function hash_value">hash_value</a>(double);
74  <span class="type">std::size_t</span> <a href="../id2346601.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>long</strong></span> double);
75  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="type">std::size_t</span> <a href="../id2503912.html" title="Function hash_value">hash_value</a>(T* <span class="bold"><strong>const</strong></span>&amp;);
76  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>unsigned</strong></span> N&gt; <span class="type">std::size_t</span> <a href="../id2393344.html" title="Function hash_value">hash_value</a>(T (&amp;val)[N]);
77  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>unsigned</strong></span> N&gt; <span class="type">std::size_t</span> <a href="../id2393344.html" title="Function hash_value">hash_value</a>(<span class="bold"><strong>const</strong></span> T (&amp;val)[N]);
78  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Ch, <span class="bold"><strong>typename</strong></span> A&gt; 
79    <span class="type">std::size_t</span> <a href="../id2354316.html" title="Function hash_value">hash_value</a>(std::basic_string&lt;Ch, std::char_traits&lt;Ch&gt;, A&gt; <span class="bold"><strong>const</strong></span>&amp;);
80}</pre>
81</div>
82<div class="section" lang="en">
83<div class="titlepage"><div><div><h6 class="title">
84<a name="id2386217"></a>Header &lt;<a href="../../../boost/functional/hash/pair.hpp" target="_top">boost/functional/hash/pair.hpp</a>&gt;</h6></div></div></div>
85<p>
86      Hash implementation for <code class="computeroutput">std::pair</code>.
87    </p>
88<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
89  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> A, <span class="bold"><strong>typename</strong></span> B&gt; 
90    <span class="type">std::size_t</span> <a href="../id2386234.html" title="Function hash_value">hash_value</a>(std::pair&lt;A, B&gt; <span class="bold"><strong>const</strong></span> &amp;);
91}</pre>
92</div>
93<div class="section" lang="en">
94<div class="titlepage"><div><div><h6 class="title">
95<a name="id2446813"></a>Header &lt;<a href="../../../boost/functional/hash/vector.hpp" target="_top">boost/functional/hash/vector.hpp</a>&gt;</h6></div></div></div>
96<p>
97      Hash implementation for <code class="computeroutput">std::vector</code>.
98    </p>
99<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
100  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>typename</strong></span> A&gt; 
101    <span class="type">std::size_t</span> <a href="../id2490467.html" title="Function hash_value">hash_value</a>(std::vector&lt;T, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
102}</pre>
103</div>
104<div class="section" lang="en">
105<div class="titlepage"><div><div><h6 class="title">
106<a name="id2431434"></a>Header &lt;<a href="../../../boost/functional/hash/list.hpp" target="_top">boost/functional/hash/list.hpp</a>&gt;</h6></div></div></div>
107<p>
108      Hash implementation for <code class="computeroutput">std::list</code>.
109    </p>
110<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
111  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>typename</strong></span> A&gt; 
112    <span class="type">std::size_t</span> <a href="../id2514166.html" title="Function hash_value">hash_value</a>(std::list&lt;T, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
113}</pre>
114</div>
115<div class="section" lang="en">
116<div class="titlepage"><div><div><h6 class="title">
117<a name="id2284794"></a>Header &lt;<a href="../../../boost/functional/hash/deque.hpp" target="_top">boost/functional/hash/deque.hpp</a>&gt;</h6></div></div></div>
118<p>
119      Hash implementation for <code class="computeroutput">std::deque</code>.
120    </p>
121<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
122  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>typename</strong></span> A&gt; 
123    <span class="type">std::size_t</span> <a href="../id2284811.html" title="Function hash_value">hash_value</a>(std::deque&lt;T, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
124}</pre>
125</div>
126<div class="section" lang="en">
127<div class="titlepage"><div><div><h6 class="title">
128<a name="id2473714"></a>Header &lt;<a href="../../../boost/functional/hash/set.hpp" target="_top">boost/functional/hash/set.hpp</a>&gt;</h6></div></div></div>
129<p>
130      Hash implementation for <code class="computeroutput">std::set</code> and <code class="computeroutput">std::multiset</code>.
131    </p>
132<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
133  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> K, <span class="bold"><strong>typename</strong></span> C, <span class="bold"><strong>typename</strong></span> A&gt; 
134    <span class="type">std::size_t</span> <a href="../id2473733.html" title="Function hash_value">hash_value</a>(std::set&lt;K, C, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
135  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> K, <span class="bold"><strong>typename</strong></span> C, <span class="bold"><strong>typename</strong></span> A&gt; 
136    <span class="type">std::size_t</span> <a href="../id2473733.html" title="Function hash_value">hash_value</a>(std::multiset&lt;K, C, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
137}</pre>
138</div>
139<div class="section" lang="en">
140<div class="titlepage"><div><div><h6 class="title">
141<a name="id2477505"></a>Header &lt;<a href="../../../boost/functional/hash/map.hpp" target="_top">boost/functional/hash/map.hpp</a>&gt;</h6></div></div></div>
142<p>
143      Hash implementation for <code class="computeroutput">std::map</code> and <code class="computeroutput">std::multimap</code>.
144    </p>
145<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
146  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> K, <span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>typename</strong></span> C, <span class="bold"><strong>typename</strong></span> A&gt; 
147    <span class="type">std::size_t</span> <a href="../id2477525.html" title="Function hash_value">hash_value</a>(std::map&lt;K, T, C, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
148  <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> K, <span class="bold"><strong>typename</strong></span> T, <span class="bold"><strong>typename</strong></span> C, <span class="bold"><strong>typename</strong></span> A&gt; 
149    <span class="type">std::size_t</span> <a href="../id2477525.html" title="Function hash_value">hash_value</a>(std::multimap&lt;K, T, C, A&gt; <span class="bold"><strong>const</strong></span> &amp;);
150}</pre>
151</div>
152</div>
153</div>
154<table width="100%"><tr>
155<td align="left"></td>
156<td align="right"><small>Copyright © 2005 Daniel James</small></td>
157</tr></table>
158<hr>
159<div class="spirit-nav">
160<a accesskey="p" href="portability.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../hash.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="../boost/hash.html"><img src="../images/next.png" alt="Next"></a>
161</div>
162</body>
163</html>
Note: See TracBrowser for help on using the repository browser.