std::hash<std::pair<T1, T2>>

std::hash specialization for std::pair.

Synopsis

Declared in <folly/hash/Hash.h>

template<
    typename T1,
    typename T2>
struct hash<std::pair<T1, T2>>;

Type Aliases

NameDescription
folly_is_avalanching Marks this hash as producing well-distributed (avalanching) values.

Member Functions

NameDescription
operator() Hash the pair by combining the hashes of its elements.