Last active
August 29, 2015 14:23
-
-
Save bluescarni/7318053c656223e3247a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct term_comparator | |
{ | |
template <typename T> | |
bool operator()(const T &p1, const T &p2) const noexcept | |
{ | |
return p1.first == p2.first; | |
} | |
}; | |
// This is the full definition of the hash set. | |
piranha::hash_set<std::pair<....>,std::hash<std::pair<....>>,term_comparator>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment