Get it
Learn it
Advanced
struct MyHash { // methods template <typename T> std::size_t operator () (const std::pair<T, T>& x) const; };