uhash< HashAlgorithm > Struct Template Reference

Detailed Description

template<class HashAlgorithm>
struct maliput::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.

#include <src/maliput/drake/common/hash.h>

Inheritance diagram for uhash< HashAlgorithm >:

Public Types

using result_type = typename HashAlgorithm::result_type

Public Member Functions

template<class T >
result_type operator() (const T &item) const noexcept

Member Typedef Documentation

◆ result_type

using result_type = typename HashAlgorithm::result_type

Member Function Documentation

◆ operator()()

result_type operator() ( const T &  item) const

The documentation for this struct was generated from the following file: