A hashing functor, somewhat like std::hash.
Given an item of type T, applies hash_append generic hashing to it, directing the bytes to append into the given HashAlgorithm, and then finally returning the algorithm's result.
#include <drake/common/hash.h>
Public Types | |
| using | result_type = typename HashAlgorithm::result_type |
Public Member Functions | |
| template<class T > | |
| result_type | operator() (const T &item) const noexcept |
| using result_type = typename HashAlgorithm::result_type |
|
noexcept |