libhatchet
Loading...
Searching...
No Matches
hxkey_hash_t< T, enabled_t > Class Template Reference

#include <hxkey.hpp>

Public Member Functions

hxhash_t operator() (const T &x_) const

Detailed Description

template<typename T, typename enabled_t = void>
class hxkey_hash_t< T, enabled_t >

hxkey_hash_t<T> - A callable that returns the xxhash32 of a numeric value cast to 32 bits.

Used by the base hash table node. Specialize for custom key types, the same way std::hash is specialized. Uses the xxhash32 short-input path for a single 4-byte word.

  • T : The type to hash.

Member Function Documentation

◆ operator()()

template<typename T, typename enabled_t = void>
hxhash_t hxkey_hash_t< T, enabled_t >::operator() ( const T & x_) const
inline

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