struct PairHasher

Defined at line 17 of file ../../src/ui/lib/escher/util/pair_hasher.h

Provides a hash operator that allows std::pair to be used e.g. as a key in a

std::unordered_map. NOTE: this can be deleted when a future C++ standard

library provides a default hash operator for pairs.

Public Methods

template <typename T1, typename T2>
size_t operator() (const std::pair<T1, T2> & p)

Defined at line 19 of file ../../src/ui/lib/escher/util/pair_hasher.h