BloombergLP::bdlb::operator<=>

Perform a three-way comparison of the specified nullable object and value.

Synopsis

Declared in <bdlb_nullablevalue.h>

template<
    class LHS_TYPE,
    class RHS_TYPE>
requires (!bdlb::NullableValue_DerivedFromOptional<RHS_TYPE>) &&
              bsl::three_way_comparable_with<LHS_TYPE, RHS_TYPE>
constexpr
std::compare_three_way_result_t<LHS_TYPE, RHS_TYPE>
operator<=>(
    NullableValue<LHS_TYPE> const& lhs,
    RHS_TYPE const& rhs);