|
libboxes
boxes is a set of specialised containers built on top of STL
|
Defines a minimal interface for Hashing functor. More...
#include <hash_utils.hpp>
Defines a minimal interface for Hashing functor.
Each hash functor of type T must implement the following interface:
operator()(const uint8_t *data, std::size_t len): updates the hash with a new chunk of datafinal() -> uint64_t: returns the final hash valuereset(): resets the hash state| T | type of the hash functor |
Definition at line 34 of file hash_utils.hpp.