beman::optional::operator<=>

Three-way comparison operator

Synopsis

Declared in <beman/optional/optional.hpp>

constexpr
std::strong_ordering
operator<=>(
    nullopt_t lhs,
    nullopt_t rhs) noexcept;

Return Value

The relative order of the objects

Parameters

NameDescription
lhsThe left operand
rhsThe right operand