1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Struct hash<std::string></title> |
---|
5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> |
---|
7 | <link rel="start" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> |
---|
8 | <link rel="up" href="hash/reference.html#header.boost.functional.hash.hpp" title="Header <boost/functional/hash.hpp>"> |
---|
9 | <link rel="prev" href="id907590-bb.html" title="Struct hash<long double>"> |
---|
10 | <link rel="next" href="id897991-bb.html" title="Struct hash<std::wstring>"> |
---|
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 C++ Libraries" 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="id907590-bb.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="hash/reference.html#header.boost.functional.hash.hpp"><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="id897991-bb.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="refentry" lang="en"> |
---|
26 | <a name="id901417-bb"></a><div class="titlepage"></div> |
---|
27 | <div class="refnamediv"> |
---|
28 | <h2><span class="refentrytitle">Struct hash<std::string></span></h2> |
---|
29 | <p>boost::hash<std::string> — </p> |
---|
30 | </div> |
---|
31 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
32 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"> |
---|
33 | <span class="bold"><strong>struct</strong></span> hash<std::string> { |
---|
34 | <span class="type">std::size_t</span> <a href="id901417-bb.html#id901431-bb"><span class="bold"><strong>operator</strong></span>()</a>(std::string <span class="bold"><strong>const</strong></span>&) <span class="bold"><strong>const</strong></span>; |
---|
35 | };</pre></div> |
---|
36 | <div class="refsect1" lang="en"> |
---|
37 | <a name="id1241302"></a><h2>Description</h2> |
---|
38 | <pre class="literallayout"><span class="type">std::size_t</span> <a name="id901431-bb"></a><span class="bold"><strong>operator</strong></span>()(std::string <span class="bold"><strong>const</strong></span>& val) <span class="bold"><strong>const</strong></span>;</pre> |
---|
39 | <div class="variablelist"><table border="0"> |
---|
40 | <col align="left" valign="top"> |
---|
41 | <tbody> |
---|
42 | <tr> |
---|
43 | <td> |
---|
44 | <span class="term">Returns:</span></td> |
---|
45 | <td> |
---|
46 | <p>Unspecified in TR1, except that equal arguments yield the same result.</p> |
---|
47 | <p><a href="boost/hash_value.html" title="Function hash_value">hash_value</a>(val) in Boost.</p> |
---|
48 | </td> |
---|
49 | </tr> |
---|
50 | <tr> |
---|
51 | <td> |
---|
52 | <span class="term">Throws:</span></td> |
---|
53 | <td><p>Doesn't throw</p></td> |
---|
54 | </tr> |
---|
55 | </tbody> |
---|
56 | </table></div> |
---|
57 | </div> |
---|
58 | </div> |
---|
59 | <table width="100%"><tr> |
---|
60 | <td align="left"></td> |
---|
61 | <td align="right"><small>Copyright © 2005, 2006 Daniel James</small></td> |
---|
62 | </tr></table> |
---|
63 | <hr> |
---|
64 | <div class="spirit-nav"> |
---|
65 | <a accesskey="p" href="id907590-bb.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="hash/reference.html#header.boost.functional.hash.hpp"><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="id897991-bb.html"><img src="images/next.png" alt="Next"></a> |
---|
66 | </div> |
---|
67 | </body> |
---|
68 | </html> |
---|