[#bsl-owner_less-07]
= xref:bsl.adoc[bsl]::xref:bsl/owner_less-0c.adoc[owner&lowbar;less]&lt;xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&gt;]&gt;
:relfileprefix: ../
:mrdocs:

Specialization of `owner&lowbar;less` that orders `shared&lowbar;ptr` objects by ownership&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ELEMENT&lowbar;TYPE&gt;
struct xref:bsl/owner_less-0c.adoc[owner&lowbar;less]&lt;xref:bsl/shared_ptr-0a.adoc[shared&lowbar;ptr&lt;ELEMENT&lowbar;TYPE&gt;]&gt;;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/owner_less-07/first_argument_type.adoc[`first&lowbar;argument&lowbar;type`] 
| This `typedef` is an alias to the first argument type of `operator()`&period;
| xref:bsl/owner_less-07/result_type.adoc[`result&lowbar;type`] 
| This `typedef` is an alias to the result type of `operator()`&period;
| xref:bsl/owner_less-07/second_argument_type.adoc[`second&lowbar;argument&lowbar;type`] 
| This `typedef` is an alias to the second argument type of `operator()`&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/owner_less-07/operator_call-02.adoc[`operator()`] 
| Return `true` if the ownership of `a` is ordered before that of `b`&period;
|===



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