4 template<typename A, typename B>
25 template<typename A, typename B>
26 inline unsigned int pairHashFunction(Pair<A, B> p) {
27 return (p.getFirst() << 1) ^ p.getSecond();
30 template<typename A, typename B>
31 inline bool pairEquals(Pair<A, B> a, Pair<A, B> b) {
32 return ( a.getFirst() == b.getFirst() ) && (a.getSecond() == b.getSecond());
35 inline unsigned int pairHashFunction(Pair<int64_t, int64_t> p) {
36 return (p.getFirst() << 1) ^ p.getSecond();
39 inline bool pairEquals(Pair<int64_t, int64_t> a, Pair<int64_t, int64_t> b) {
40 return ( a.getFirst() == b.getFirst() ) && (a.getSecond() == b.getSecond());