[#BloombergLP-bdlb-operator_3way-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator<=> :relfileprefix: ../../ :mrdocs: Perform a three‐way comparison of the specified nullable objects. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LHS_TYPE, bsl::three_way_comparable_with<LHS_TYPE> RHS_TYPE> constexpr std::compare_three_way_result_t<LHS_TYPE, RHS_TYPE> operator<=>( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<LHS_TYPE>] const& lhs, xref:bsl/optional-072.adoc[bsl::optional<RHS_TYPE>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#