libboxes
boxes is a set of specialised containers built on top of STL
boxes::hash::HashFamily64 Concept Reference

Defines a minimal interface for HashFamily functor. More...

#include <hash_utils.hpp>

Concept definition

template<typename T>
requires(T t, std::size_t i, const uint8_t *data, std::size_t len) {
{ t(i, data, len) };
{ t.final(i) } -> std::same_as<uint64_t>;
{ t.reset() };
{ t.size() } -> std::same_as<std::size_t>;
}
Defines a minimal interface for HashFamily functor.
Definition: hash_utils.hpp:57

Detailed Description

Defines a minimal interface for HashFamily functor.

HashFamily is a functor that applies a family of hash functions to a given data chunk. Each hash family functor of type T must implement the following interface:

Template Parameters
Ttype of the hash family functor

Definition at line 57 of file hash_utils.hpp.