Example #1
0
inline bool operator==(const OfferID& left, const std::string& right)
{
  return left.value() == right;
}
Example #2
0
inline bool operator<(const OfferID& left, const OfferID& right)
{
  return left.value() < right.value();
}
Example #3
0
inline std::size_t hash_value(const OfferID& offerId)
{
  size_t seed = 0;
  boost::hash_combine(seed, offerId.value());
  return seed;
}