Perform a three-way comparison of the specified value and one of type bsl::nullopt_t; return the result of that comparison.
Declared in <bdlb_nullablevalue.h>
template<class TYPE>
constexpr
std::strong_ordering
operator<=>(
NullableValue<TYPE> const& value,
bsl::nullopt_t const& nullopt) noexcept;
the result of the three-way comparison
| Name | Description |
|---|---|
| value | nullable object to compare |
| nullopt | disengaged-optional tag |