[#BloombergLP-bdlb-operator_3way-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator<=> :relfileprefix: ../../ :mrdocs: Return a three‐way comparison of the specified `lhs` and `rhs`. == 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:BloombergLP/bdlb/NullableValue.adoc[NullableValue<RHS_TYPE>] const& rhs); ---- == Description Perform a three‐way comparison of the specified `lhs` and the specified `rhs` objects by using the comparison operators of `t_LHS` and `t_RHS`; return the result of that comparison. == Return Value the result of the three‐way comparison == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#