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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ELEMENT&lowbar;TYPE&lowbar;A,
    class ELEMENT&lowbar;TYPE&lowbar;B&gt;
bool
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;
----

== 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]#
