kblib 0.2.3
General utilities library for modern C++
|
Transparent hasher for any hashable type. More...
#include <kblib/hash.h>
Public Member Functions | |
template<typename T > | |
constexpr auto | operator() (const T &key, HashInt offset=fnv::fnv_offset< HashInt >::value) const noexcept -> enable_if_t< is_hashable_v< T >, HashInt > |
Public Attributes | |
KBLIB_CONSTANT_MV | is_transparent = true |
Transparent hasher for any hashable type.
|
inlineconstexprnoexcept |
KBLIB_CONSTANT_MV kblib::FNV_hash< void, HashInt, void >::is_transparent = true |