[#BloombergLP-bdlb-operator_3way-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator<=> :relfileprefix: ../../ :mrdocs: Three‐way comparison operators == Synopses Declared in `<bdlb_nullablevalue.h>` 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. [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> xref:BloombergLP/bdlb/operator_3way-03.adoc[operator<=>]( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<LHS_TYPE>] const& lhs, xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<RHS_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlb/operator_3way-03.adoc[_» more..._]# Perform a three‐way comparison of the specified nullable objects. [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> xref:BloombergLP/bdlb/operator_3way-04.adoc[operator<=>]( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<LHS_TYPE>] const& lhs, xref:bsl/optional-072.adoc[bsl::optional<RHS_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlb/operator_3way-04.adoc[_» more..._]# Perform a three‐way comparison of the specified nullable objects. [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> xref:BloombergLP/bdlb/operator_3way-0a.adoc[operator<=>]( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<LHS_TYPE>] const& lhs, std::optional<RHS_TYPE> const& rhs); ---- [.small]#xref:BloombergLP/bdlb/operator_3way-0a.adoc[_» more..._]# Perform a three‐way comparison of the specified nullable object and value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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> xref:BloombergLP/bdlb/operator_3way-0b.adoc[operator<=>]( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<LHS_TYPE>] const& lhs, RHS_TYPE const& rhs); ---- [.small]#xref:BloombergLP/bdlb/operator_3way-0b.adoc[_» more..._]# Perform a three‐way comparison of the specified `value` and one of type `bsl::nullopt_t`; return the result of that comparison. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> constexpr std::strong_ordering xref:BloombergLP/bdlb/operator_3way-07.adoc[operator<=>]( xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<TYPE>] const& value, xref:bsl/nullopt_t.adoc[bsl::nullopt_t] const&) noexcept; ---- [.small]#xref:BloombergLP/bdlb/operator_3way-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#