Esempio n. 1
0
 inline int compare(const Subtype& other) const {
     return m_id - other.id();
 }
Esempio n. 2
0
 handle(const Subtype& other) {
     m_id = other.id();
 }
Esempio n. 3
0
 int64_t compare(const Subtype& other) const {
   return id_ - other.id();
 }
Esempio n. 4
0
 friend std::string to_string(const Subtype& x) {
   return std::to_string(x.id());
 }
Esempio n. 5
0
 handle(const Subtype& other) {
   id_ = other.id();
 }