|
| constexpr | none_t () noexcept=default |
| | 默认构造函数
|
| constexpr bool | operator== (const none_t &other) const noexcept |
| | 相等比较运算符
|
| constexpr bool | operator< (const none_t &other) const noexcept |
| | 小于比较运算符
|
| constexpr size_t | to_hash () const noexcept |
| | 计算哈希值
|
| constexpr void | swap (none_t &other) noexcept |
| | 交换操作
|
| MSTL_NODISCARD constexpr bool | operator== (const none_t &rhs) const noexcept(noexcept(derived()==rhs)) |
| | 相等比较运算符
|
| MSTL_NODISCARD constexpr bool | operator!= (const none_t &rhs) const noexcept(noexcept(!(*this==rhs))) |
| | 不等比较运算符
|
| MSTL_NODISCARD constexpr bool | operator< (const none_t &rhs) const noexcept(noexcept(derived()< rhs)) |
| | 小于比较运算符
|
| MSTL_NODISCARD constexpr bool | operator> (const none_t &rhs) const noexcept(noexcept(rhs< derived())) |
| | 大于比较运算符
|
| MSTL_NODISCARD constexpr bool | operator<= (const none_t &rhs) const noexcept(noexcept(!(derived() > rhs))) |
| | 小于等于比较运算符
|
| MSTL_NODISCARD constexpr bool | operator>= (const none_t &rhs) const noexcept(noexcept(!(derived()< rhs))) |
| | 大于等于比较运算符
|
| MSTL_NODISCARD constexpr size_t | to_hash () const noexcept(noexcept(derived().to_hash())) |
| | 获取对象的哈希值
|