Struct hashfunc

Struct Documentation

struct hashfunc

支持 pair 键的哈希函数,用于 unordered_map。

Public Functions

template<typename T, typename U>
inline size_t operator()(const pair<T, U> &i) const