libboxes
boxes is a set of specialised containers built on top of STL
All Classes Files Functions Pages Concepts
boxes::hash::Hash64 Concept Reference

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

#include <hash_utils.hpp>

Concept definition

template<typename T>
concept boxes::hash::Hash64 = requires(T t, const uint8_t *data, std::size_t len) {
{ t(data, len) };
{ t.final() } -> std::same_as<uint64_t>;
{ t.reset() };
}
Defines a minimal interface for Hashing functor.
Definition: hash_utils.hpp:34

Detailed Description

Defines a minimal interface for Hashing functor.

Each hash functor of type T must implement the following interface:

Template Parameters
Ttype of the hash functor

Definition at line 34 of file hash_utils.hpp.