template<typename T>
requires(std::remove_cvref_t<T> const& a, std::remove_cvref_t<T> const& b) {
{ a < b } -> std::convertible_to<bool>;
{ a > b } -> std::convertible_to<bool>;
{ a <= b } -> std::convertible_to<bool>;
{ a >= b } -> std::convertible_to<bool>;
}
Type whose == and != both yield something convertible to bool.
Definition comparison.hxx:81
Type with equality and a total order.
Definition object_semantics.hxx:384
Type with equality and a total order.
- Template Parameters
-
template<Type::TotallyOrdered T>
bool before(const T& left, const T& right) { return left < right; }