dice-hash
Hash function for stl types and container
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | Static Public Attributes | List of all members
dice::hash::Policies::wyhash Struct Reference

Classes

class  HashState
 

Static Public Member Functions

template<typename T >
static std::size_t hash_fundamental (T x) noexcept
 
static std::size_t hash_bytes (void const *ptr, std::size_t len) noexcept
 
static std::size_t hash_combine (std::initializer_list< size_t > hashes) noexcept
 
static std::size_t hash_invertible_combine (std::initializer_list< size_t > hashes) noexcept
 

Static Public Attributes

static constexpr uint64_t kSeed = 0xe17a1465UL
 
static constexpr uint64_t kWyhashSalt [4]
 
static constexpr std::size_t ErrorValue = kSeed
 

Member Data Documentation

◆ kWyhashSalt

constexpr uint64_t dice::hash::Policies::wyhash::kWyhashSalt[4]
inlinestaticconstexpr
Initial value:
= {
dice::hash::wyhash::_wyp[0],
dice::hash::wyhash::_wyp[1],
dice::hash::wyhash::_wyp[2],
dice::hash::wyhash::_wyp[3]
}

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