Function Subspace :: sus :: boxed :: operator<=>
auto operator<=>(const Box<T>& lhs, const Box<T>& rhs) -> std::strong_ordering
requires
sus::cmp::ExclusiveStrongOrd<T>
auto operator<=>(const Box<T>& lhs, const Box<T>& rhs) -> std::weak_ordering
requires
sus::cmp::ExclusiveOrd<T>
auto operator<=>(const Box<T>& lhs, const Box<T>& rhs) -> std::partial_ordering
requires
sus::cmp::ExclusivePartialOrd<T>
Compares the inner value of two Box
objects for ordering. This compares
the values pointed to from the Box
, not the pointers themselves.
Satisfies the strongest of StrongOrd
,
Ord
, or PartialOrd
, for
Box<T>
for the strongest ordering that T
satisifes.