Template Struct FastHash< std::string_view >

Inheritance Relationships

Derived Types

Struct Documentation

template<>
struct FastHash<std::string_view>

the hash of a string, by its bytes; any string_view, std::string and C string with the same characters hash the same

Subclassed by ADS::FastHash< const char * >, ADS::FastHash< std::string >

Public Types

using is_avalanching = void
using is_transparent = void

for the lookups by any string

Public Functions

inline std::size_t operator()(std::string_view s) const noexcept

Public Members

std::uint64_t seed = 0