DefaultHash Struct Reference
#include <hash.h>
Public Types |
|
using | ValueType = HashInt |
公共成员函数 |
|
MAXON_IMPLICIT | DefaultHash ( HashInt start= EMPTY_HASH ) |
void | Combine ( HashInt value) |
void | CombineUnordered ( HashInt value) |
operator HashInt () const |
静态公共成员函数 |
|
static constexpr UInt32 | Mix ( UInt32 h) |
static constexpr UInt64 | Mix ( UInt64 h) |
static constexpr HashInt | SplitMix ( HashInt value) |
template<typename... R> | |
static HashInt | CombineHashes ( HashInt first, R... rest) |
Public Attributes |
|
HashInt | state |
静态公共属性 |
|
static constexpr HashInt | EMPTY_HASH |
Static Private Member Functions |
|
static void | CombineHashesImpl ( DefaultHash &hash) |
template<typename... R> | |
static void | CombineHashesImpl ( DefaultHash &hash, HashInt x, R... rest) |
using ValueType = HashInt |
MAXON_IMPLICIT DefaultHash | ( | HashInt |
start
=
EMPTY_HASH
|
) |
|
static constexpr |
|
static constexpr |
|
static constexpr |
void Combine | ( | HashInt | value | ) |
void CombineUnordered | ( | HashInt | value | ) |
operator HashInt | ( | ) | const |
|
static |
|
static private |
|
static private |
|
static constexpr |
HashInt state |