Requires std::equality_comparable and all remaing comparison operators (<, <=, >, >=).
More...
Inheritance diagram for totally_ordered:Related Functions | |
(Note that these are not member functions.) | |
Requirements for std::totally_ordered | |
You can expect these functions on all types that implement std::totally_ordered. | |
| bool | operator< (type const &lhs, type const &rhs) |
| Less-than, greater-than and -or-equal comparisons. More... | |
| bool | operator<= (type const &lhs, type const &rhs) |
| Less-than, greater-than and -or-equal comparisons. More... | |
| bool | operator> (type const &lhs, type const &rhs) |
| Less-than, greater-than and -or-equal comparisons. More... | |
| bool | operator>= (type const &lhs, type const &rhs) |
| Less-than, greater-than and -or-equal comparisons. More... | |
Requirements for std::equality_comparable | |
You can expect these functions on all types that implement std::Equality_comparable. | |
| bool | operator== (type const &lhs, type const &rhs) |
| (In-)Equality comparison. More... | |
| bool | operator!= (type const &lhs, type const &rhs) |
| (In-)Equality comparison. More... | |
Requires std::equality_comparable and all remaing comparison operators (<, <=, >, >=).