libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
An implementation of the Hsieh hash function. More...
#include <hash.hpp>
Inherits std::unary_function< A, std::size_t >.
Public Types | |
typedef std::unary_function< A, std::size_t >::result_type | result_type |
typedef std::unary_function< A, std::size_t >::argument_type | argument_type |
typedef private_::hashed_unit_t | hashed_unit_t |
Public Member Functions | |
result_type __fastcall FORCE_INLINE | operator() (const argument_type &d) const noexcept(true) |
Generate the hash of the value. More... | |
Static Public Attributes | |
static constexpr unsigned long | length =L |
An implementation of the Hsieh hash function.
From . Using template meta-programming to unroll the hashing loop. \see hashing::hsieh
typedef std::unary_function<A, std::size_t>::argument_type jmmcg::LIBJMMCG_VER_NAMESPACE::hashers::mpl::hsieh< A, L >::argument_type |
typedef private_::hashed_unit_t jmmcg::LIBJMMCG_VER_NAMESPACE::hashers::mpl::hsieh< A, L >::hashed_unit_t |
typedef std::unary_function<A, std::size_t>::result_type jmmcg::LIBJMMCG_VER_NAMESPACE::hashers::mpl::hsieh< A, L >::result_type |
|
inlinenoexcept |
Generate the hash of the value.
d | An STL-container type holding the value to be hashed. |
Definition at line 274 of file hash.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::hashers::mpl::hsieh< A, L >::length.
|
staticconstexpr |
Definition at line 263 of file hash.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::hashers::mpl::hsieh< A, L >::operator()().