Go to the documentation of this file.
14 #ifndef INCLUDE_SET_H_
15 #define INCLUDE_SET_H_
25 template <
class Key_T,
class Other_T = Key_T>
39 explicit Set(
const Key_T &key,
const Other_T &other = Other_T{}) : key_{key}, other_{other} {}
friend bool operator>(const Set &lhs, const Set &rhs)
operator>
friend bool operator==(const Set &lhs, const Set &rhs)
operator==
friend bool operator>=(const Set &lhs, const Set &rhs)
operator>=
friend bool operator<=(const Set &lhs, const Set &rhs)
operator<=
friend bool operator<(const Set &lhs, const Set &rhs)
operator<
friend bool operator!=(const Set &lhs, const Set &rhs)
operator!=
Set(const Key_T &key, const Other_T &other=Other_T{})
c 其他值