예제 #1
0
 std::size_t operator()(const Predicate& predicate) const
 {
     boost::hash <std::string> hasher;
     return hasher(predicate.name());
 }
예제 #2
0
 bool operator()(const Predicate& a, const std::string& b) const
 {
     return a.name() == b;
 }
예제 #3
0
 bool operator()(const std::string& a, const Predicate& b) const
 {
     return a == b.name();
 }
예제 #4
0
 bool operator()(const Predicate& a, const Predicate& b) const
 {
     return a.name() == b.name();
 }