Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It depends on the type you are using, if you look <a href="http://boost.org/doc/libs/1_45_0/doc/html/hash/reference.html#header.boost.functional.hash_hpp" rel="noreferrer">here</a> the <code>boost::hash</code> template class is specialised:</p> <pre><code> template&lt;&gt; struct hash&lt;bool&gt;; template&lt;&gt; struct hash&lt;char&gt;; template&lt;&gt; struct hash&lt;signed char&gt;; template&lt;&gt; struct hash&lt;unsigned char&gt;; template&lt;&gt; struct hash&lt;wchar_t&gt;; template&lt;&gt; struct hash&lt;short&gt;; template&lt;&gt; struct hash&lt;unsigned short&gt;; template&lt;&gt; struct hash&lt;int&gt;; template&lt;&gt; struct hash&lt;unsigned int&gt;; template&lt;&gt; struct hash&lt;long&gt;; template&lt;&gt; struct hash&lt;unsigned long&gt;; template&lt;&gt; struct hash&lt;long long&gt;; template&lt;&gt; struct hash&lt;unsigned long long&gt;; template&lt;&gt; struct hash&lt;float&gt;; template&lt;&gt; struct hash&lt;double&gt;; template&lt;&gt; struct hash&lt;long double&gt;; template&lt;&gt; struct hash&lt;std::string&gt;; template&lt;&gt; struct hash&lt;std::wstring&gt;; template&lt;typename T&gt; struct hash&lt;T*&gt;; </code></pre> <p>You can also specify your own hash as the third template argument:</p> <pre><code>namespace boost { template&lt;typename Key, typename Mapped, typename Hash = boost::hash&lt;Key&gt;, typename Pred = std::equal_to&lt;Key&gt;, typename Alloc = std::allocator&lt;std::pair&lt;Key const, Mapped&gt; &gt; &gt; class unordered_map; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload