libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::hashers::hsieh< A > Struct Template Reference

An implementation of the Hsieh hash function. More...

#include <hash.hpp>

Inherits 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
 

Public Member Functions

result_type __fastcall FORCE_INLINE operator() (const argument_type &d) const noexcept(true)
 Generate the hash of the value. More...
 

Detailed Description

template<typename A>
struct jmmcg::hashers::hsieh< A >

An implementation of the Hsieh hash function.

From . \see mpl::hsieh

Definition at line 146 of file hash.hpp.

Member Typedef Documentation

◆ argument_type

template<typename A >
typedef std::unary_function<A, std::size_t>::argument_type jmmcg::hashers::hsieh< A >::argument_type

Definition at line 148 of file hash.hpp.

◆ result_type

template<typename A >
typedef std::unary_function<A, std::size_t>::result_type jmmcg::hashers::hsieh< A >::result_type

Definition at line 147 of file hash.hpp.

Member Function Documentation

◆ operator()()

template<typename A >
result_type __fastcall FORCE_INLINE jmmcg::hashers::hsieh< A >::operator() ( const argument_type d) const
inlinenoexcept

Generate the hash of the value.

Parameters
dAn STL-container type holding the value to be hashed.
Returns
The hash of the value.

Definition at line 163 of file hash.hpp.


The documentation for this struct was generated from the following file: