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