]>
Dogcows Code - chaz/yoink/blob - src/moof/hash.hh
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
10 **************************************************************************/
12 #ifndef _MOOF_HASH_HH_
13 #define _MOOF_HASH_HH_
17 * Hash tables and functions.
22 #include <moof/stlplus/hash.hpp>
33 // generic hash function
34 unsigned operator () (const void* key
, int len
,
35 unsigned seed
= -1) const;
37 unsigned operator () (const std::string
& val
) const
39 return (*this)(val
.data(), val
.length());
42 unsigned operator () (int val
) const
51 #endif // _MOOF_HASH_HH_
This page took 0.043492 seconds and 5 git commands to generate.