[#bsl-operator_3way-05]
= xref:bsl.adoc[bsl]::operator&lt;&equals;&gt;
:relfileprefix: ../
:mrdocs:

Compare the specified `lhs` and `rhs` pairs lexicographically&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2&gt;
constexpr
std::common&lowbar;comparison&lowbar;category&lowbar;t&lt;BloombergLP::bslalg::SynthThreeWayUtil::Result&lt;T1&gt;, BloombergLP::bslalg::SynthThreeWayUtil::Result&lt;T2&gt;&gt;
operator&lt;&equals;&gt;(
    xref:bsl/pair-0b.adoc[pair&lt;T1, T2&gt;] const& lhs,
    xref:bsl/pair-0b.adoc[pair&lt;T1, T2&gt;] const& rhs);
----

== Description

Perform a lexicographic three&hyphen;way comparison of the specified `lhs` and the specified `rhs` pairs by using the comparison operators of `T1` and `T2`&semi; return the result of that comparison&period;

== Return Value

result of the lexicographic three&hyphen;way comparison

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| pair on the left side of the comparison
| *rhs*
| pair on the right side of the comparison
|===


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