[#bsl-owner_less-06-operator_call-0b]
= xref:bsl.adoc[bsl]::xref:bsl/owner_less-06.adoc[owner&lowbar;less&lt;void&gt;]::operator()
:relfileprefix: ../../
:mrdocs:

Function call operators

== Synopses

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

owner&lowbar;less&amp; operator&equals;(const owner&lowbar;less&amp; rhs) &equals; default&semi;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ELEMENT&lowbar;TYPE&lowbar;A,
    class ELEMENT&lowbar;TYPE&lowbar;B&gt;
bool
xref:bsl/owner_less-06/operator_call-00.adoc[operator()](
    xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;A&gt;] const& a,
    xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;B&gt;] const& b) const noexcept;
----

[.small]#xref:bsl/owner_less-06/operator_call-00.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ELEMENT&lowbar;TYPE&lowbar;A,
    class ELEMENT&lowbar;TYPE&lowbar;B&gt;
bool
xref:bsl/owner_less-06/operator_call-05.adoc[operator()](
    xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;A&gt;] const& a,
    xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;B&gt;] const& b) const noexcept;
----

[.small]#xref:bsl/owner_less-06/operator_call-05.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ELEMENT&lowbar;TYPE&lowbar;A,
    class ELEMENT&lowbar;TYPE&lowbar;B&gt;
bool
xref:bsl/owner_less-06/operator_call-0a.adoc[operator()](
    xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;A&gt;] const& a,
    xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;B&gt;] const& b) const noexcept;
----

[.small]#xref:bsl/owner_less-06/operator_call-0a.adoc[_» more&period;&period;&period;_]#

Return `true` if the address of the `BloombergLP&colon;&colon;bslma&colon;&colon;SharedPtrRep` object used by the specified `a` is ordered before the address of the `BloombergLP&colon;&colon;bslma&colon;&colon;SharedPtrRep` object used by the specified `b` under the total ordering supplied by `std&colon;&colon;less&lt;BloombergLP&colon;&colon;bslma&colon;&colon;SharedPtrRep &ast;&gt;`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ELEMENT&lowbar;TYPE&lowbar;A,
    class ELEMENT&lowbar;TYPE&lowbar;B&gt;
bool
xref:bsl/owner_less-06/operator_call-0e.adoc[operator()](
    xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;A&gt;] const& a,
    xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&lowbar;B&gt;] const& b) const noexcept;
----

[.small]#xref:bsl/owner_less-06/operator_call-0e.adoc[_» more&period;&period;&period;_]#


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