[#bsl-operator_le-0e3]
= xref:bsl.adoc[bsl]::operator&lt;&equals;
:relfileprefix: ../
:mrdocs:

Compare a `std&colon;&colon;optional` with a `bsl&colon;&colon;optional` using less&hyphen;than&hyphen;or&hyphen;equal&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;optional&period;h&gt;`

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


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