[#bsl-owner_less-07-operator_call-02]
= xref:bsl.adoc[bsl]::xref:bsl/owner_less-07.adoc[owner&lowbar;less&lt;shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&gt;&gt;]::operator()
:relfileprefix: ../../
:mrdocs:

Return `true` if the ownership of `a` is ordered before that of `b`&period;

== Synopses

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

Return `true` if the ownership of `a` is ordered before that of `b`&period;


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

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

Return `true` if the ownership of `a` is ordered before that of `b`&period;


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

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

Return `true` if the ownership of `a` is ordered before that of `b`&period;


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

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

== Return Value

`true` if the ownership of `a` is ordered before that of `b`, otherwise `false`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| first smart pointer to compare by ownership
| *b*
| second smart pointer to compare by ownership
|===


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