Exemple #1
0
 /**
  * Compares two MemberMeta objects by only looking at the member id.
  * Used to sort a vector of MemberMeta objects and to later find
  * them using binary search.
  */
 inline bool operator<(const MemberMeta& a, const MemberMeta& b) noexcept {
     return a.member_id() < b.member_id();
 }
 /**
  * Compares two MemberMeta objects by only looking at the member id.
  * Used to sort a vector of MemberMeta objects and to later find
  * them using binary search.
  */
 inline bool operator<(const MemberMeta& lhs, const MemberMeta& rhs) noexcept {
     return lhs.member_id() < rhs.member_id();
 }