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