Structure to generate a hash for std::pair.
This allows the use of pairs in data structures that use a hash, such as unordered_map/set
Public Functions
-
template<class
T1
, class T2
>
std::size_t operator()
(const std::pair<T1, T2> &pair) const
Function used to generate hash for keys.
- Return
- generated hash value
- Parameters
-