1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5 <title>Struct hash<unsigned short></title>
6 <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
7 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8 <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9 <link rel="up" href="../hash/reference.html#header.boost.functional.hash_hpp" title="Header <boost/functional/hash.hpp>">
10 <link rel="prev" href="hash_short_idp743177712.html" title="Struct hash<short>">
11 <link rel="next" href="hash_int_idp743191248.html" title="Struct hash<int>">
13 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14 <table cellpadding="2" width="100%"><tr>
15 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
16 <td align="center"><a href="../../../index.html">Home</a></td>
17 <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
18 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20 <td align="center"><a href="../../../more/index.htm">More</a></td>
23 <div class="spirit-nav">
24 <a accesskey="p" href="hash_short_idp743177712.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../hash/reference.html#header.boost.functional.hash_hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hash_int_idp743191248.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="refentry">
27 <a name="boost.hash_unsigned_idp743184480"></a><div class="titlepage"></div>
28 <div class="refnamediv">
29 <h2><span class="refentrytitle">Struct hash<unsigned short></span></h2>
30 <p>boost::hash<unsigned short></p>
32 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
33 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../hash/reference.html#header.boost.functional.hash_hpp" title="Header <boost/functional/hash.hpp>">boost/functional/hash.hpp</a>>
36 <span class="keyword">struct</span> <a class="link" href="hash_unsigned_idp743184480.html" title="Struct hash<unsigned short>">hash</a><span class="special"><</span><span class="keyword">unsigned</span> <span class="keyword">short</span><span class="special">></span> <span class="special">{</span>
37 <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="hash_unsigned_idp743184480.html#idp743186224-bb"><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span></a><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">short</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
38 <span class="special">}</span><span class="special">;</span></pre></div>
39 <div class="refsect1">
40 <a name="idp347565936"></a><h2>Description</h2>
41 <pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idp743186224-bb"></a><span class="keyword">operator</span><span class="special">(</span><span class="special">)</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">short</span> val<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
42 <div class="variablelist"><table border="0" class="variablelist compact">
44 <col align="left" valign="top">
49 <td><p><span class="term">Returns:</span></p></td>
51 <p>Unspecified in TR1, except that equal arguments yield the same result.</p>
52 <p><a class="link" href="../hash/reference.html#boost.hash_value_idp743313104">hash_value</a>(val) in Boost.</p>
56 <td><p><span class="term">Throws:</span></p></td>
57 <td><p>Doesn't throw</p></td>
63 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
64 <td align="left"></td>
65 <td align="right"><div class="copyright-footer">Copyright © 2005-2008 Daniel
67 Distributed under the Boost Software License, Version 1.0. (See accompanying
68 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>)
73 <div class="spirit-nav">
74 <a accesskey="p" href="hash_short_idp743177712.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../hash/reference.html#header.boost.functional.hash_hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="hash_int_idp743191248.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>