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