Function Subspace :: sus :: option :: operator<=>

auto operator<=>(const Option<T>& l, const Option<T>& r) -> std::strong_ordering
requires
sus::cmp::ExclusiveStrongOrd<T>
auto operator<=>(const Option<T>& l, const Option<T>& r) -> std::weak_ordering
requires
sus::cmp::ExclusiveOrd<T>
auto operator<=>(const Option<T>& l, const Option<T>& r) -> std::partial_ordering
requires
sus::cmp::ExclusivePartialOrd<T>

Compares two options. This function requires that T is ordered. An empty option always compares less than a non-empty option.

The non-template overloads allow some/none marker types to convert to an option for comparison.