13 dict_ref_t(int32_t db_id, int32_t dict_id) : dbId(db_id), dictId(dict_id) {}
16 return this->dictId == rhs.
dictId && this->dbId == rhs.
dbId;
20 this->dbId = rhs.
dbId;
26 return (this->dbId < rhs.
dbId)
28 : (this->dbId == rhs.
dbId) ? this->dictId < rhs.
dictId :
false;
32 std::hash<int32_t> int32_hash;
33 return int32_hash(ref.dictId) ^ (int32_hash(ref.dbId) << 2);
bool operator<(const struct dict_ref_t &rhs) const
struct dict_ref_t & operator=(const struct dict_ref_t &rhs)
dict_ref_t(int32_t db_id, int32_t dict_id)
bool operator==(const struct dict_ref_t &rhs) const
size_t operator()(const struct dict_ref_t &ref) const noexcept