template<class K>
nCine::FNV1aHashFunc class

Fowler-Noll-Vo (FNV-1a) hash function.

Computes a 32-bit hash by iterating over the raw bytes of the key. Specializations are provided for C strings, Death::Containers::String and Death::Containers::Pair.

Public functions

auto operator()(const K& key) const -> hash_t