libycxx

concept

std::totally_ordered_with

Scope
std

Synopsis

template<class T, class U>
concept totally_ordered_with = totally_ordered<T> && totally_ordered<U> && equality_comparable_with<T, U> &&
    totally_ordered<common_reference_t<const remove-ref-t<T>&, const remove-ref-t<U>&>> &&
    partially-ordered-with<T, U>;