beman::optional::operator<=>

Compares two nullopt_t objects.

Synopsis

Declared in <beman/optional/optional.hpp>

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

Return Value

Always std::strong_ordering::equivalent, since all nullopt_t objects compare equal.

Parameters

NameDescription
lhsThe left-hand nullopt_t object.
rhsThe right-hand nullopt_t object.