Checks if a type can be compared. More...
Inherits TraitOf< detail::is_comparable, T, U >.
A Binary concept that checks if a type can be compared with operator<
, operator<=
, operator>
, and operator>=
.
In order for a type to meet this concept, the following expressions has to be valid:
Where x is an instance of T, and y is an instance of U.
The result of the expressions must return bool
or something convertible to bool
.
T | Left type to check |
U | Right type to check |