absl::Hash

A convenient general-purpose hash functor for any hashable type T.

Synopsis

Declared in <absl/hash/hash.h>

template<typename T>
using Hash = absl::hash_internal::Hash<T>;

Description

absl::Hash<T> supports arithmetic and pointer types, types that define an AbslHashValue() overload, and types with a std::hash<T> specialization.