A hashing functor, somewhat like std::hash
.
More...
#include <drake/common/hash.h>

using  result_type = typename HashAlgorithm::result_type 

template<class HashAlgorithm>
struct drake::uhash< HashAlgorithm >
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.
◆ result_type
using result_type = typename HashAlgorithm::result_type 
◆ operator()()
The documentation for this struct was generated from the following file: