[#bsl-owner_less-0f] = xref:bsl.adoc[bsl]::xref:bsl/owner_less-0c.adoc[owner_less]<xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE>]> :relfileprefix: ../ :mrdocs: Specialization of `owner_less` that orders `weak_ptr` objects by ownership. == Synopsis Declared in `<bslstl_ownerless.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ELEMENT_TYPE> struct xref:bsl/owner_less-0c.adoc[owner_less]<xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE>]>; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/owner_less-0f/first_argument_type.adoc[`first_argument_type`] | This `typedef` is an alias to the first argument type of `operator()`. | xref:bsl/owner_less-0f/result_type.adoc[`result_type`] | This `typedef` is an alias to the result type of `operator()`. | xref:bsl/owner_less-0f/second_argument_type.adoc[`second_argument_type`] | This `typedef` is an alias to the second argument type of `operator()`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/owner_less-0f/operator_call-00.adoc[`operator()`] | Return `true` if the ownership of `a` is ordered before that of `b`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#