[#BloombergLP-bdlb-operator_3way-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator&lt;&equals;&gt;
:relfileprefix: ../../
:mrdocs:

Perform a three&hyphen;way comparison of the specified nullable objects&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;nullablevalue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class LHS&lowbar;TYPE,
    bsl::three&lowbar;way&lowbar;comparable&lowbar;with&lt;LHS&lowbar;TYPE&gt; RHS&lowbar;TYPE&gt;
constexpr
std::compare&lowbar;three&lowbar;way&lowbar;result&lowbar;t&lt;LHS&lowbar;TYPE, RHS&lowbar;TYPE&gt;
operator&lt;&equals;&gt;(
    xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue&lt;LHS&lowbar;TYPE&gt;] const& lhs,
    xref:bsl/optional-072.adoc[bsl::optional&lt;RHS&lowbar;TYPE&gt;] const& rhs);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
