52 struct hash<FDR::Evaluator::Event>
56 return event.hash_code();
61 struct hash<std::shared_ptr<FDR::Evaluator::Event>>
63 size_t operator()(
const std::shared_ptr<FDR::Evaluator::Event>& event)
const
65 return event ?
event->hash_code() : 0;
69 inline bool operator==(
const std::shared_ptr<FDR::Evaluator::Event>& first,
70 const std::shared_ptr<FDR::Evaluator::Event>& second)
72 return first.get() == second.get() || *first == *second;
75 inline bool operator!=(
const std::shared_ptr<FDR::Evaluator::Event>& first,
76 const std::shared_ptr<FDR::Evaluator::Event>& second)
78 return first.get() != second.get() && *first != *second;