[#BloombergLP-bslstl-SetComparator-operator_call-0b1]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SetComparator.adoc[SetComparator]::operator()
:relfileprefix: ../../../
:mrdocs:

Function call operators

== Synopses

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

Return whether `lhs` is ordered before the key stored in `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
bool
xref:BloombergLP/bslstl/SetComparator/operator_call-04f.adoc[operator()](
    LOOKUP&lowbar;KEY const& lhs,
    xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/SetComparator/operator_call-04f.adoc[_» more&period;&period;&period;_]#

Return whether `lhs` is ordered before the key stored in `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
bool
xref:BloombergLP/bslstl/SetComparator/operator_call-04a.adoc[operator()](
    LOOKUP&lowbar;KEY const& lhs,
    xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode] const& rhs) const;
----

[.small]#xref:BloombergLP/bslstl/SetComparator/operator_call-04a.adoc[_» more&period;&period;&period;_]#

Return whether the key stored in `lhs` is ordered before `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
bool
xref:BloombergLP/bslstl/SetComparator/operator_call-0a.adoc[operator()](
    xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode] const& lhs,
    LOOKUP&lowbar;KEY const& rhs);
----

[.small]#xref:BloombergLP/bslstl/SetComparator/operator_call-0a.adoc[_» more&period;&period;&period;_]#

Return whether the key stored in `lhs` is ordered before `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
bool
xref:BloombergLP/bslstl/SetComparator/operator_call-0bb.adoc[operator()](
    xref:BloombergLP/bslalg/RbTreeNode.adoc[bslalg::RbTreeNode] const& lhs,
    LOOKUP&lowbar;KEY const& rhs) const;
----

[.small]#xref:BloombergLP/bslstl/SetComparator/operator_call-0bb.adoc[_» more&period;&period;&period;_]#

== Return Value

* `true` if `lhs` is ordered before the key in `rhs`, and `false` otherwise
* `true` if the key in `lhs` is ordered before `rhs`, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| lookup key to compare
| *rhs*
| tree node whose key is compared
|===


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