[#bsl-owner_less-07-operator_call-02] = xref:bsl.adoc[bsl]::xref:bsl/owner_less-07.adoc[owner_less<shared_ptr<ELEMENT_TYPE>>]::operator() :relfileprefix: ../../ :mrdocs: Return `true` if the ownership of `a` is ordered before that of `b`. == Synopses Declared in `<bslstl_ownerless.h>` Return `true` if the ownership of `a` is ordered before that of `b`. [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_ptr<ELEMENT_TYPE>] const& a, xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>] const& b) const noexcept; ---- [.small]#xref:bsl/owner_less-07/operator_call-07.adoc[_» more..._]# Return `true` if the ownership of `a` is ordered before that of `b`. [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_ptr<ELEMENT_TYPE>] const& a, xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE>] const& b) const noexcept; ---- [.small]#xref:bsl/owner_less-07/operator_call-09.adoc[_» more..._]# Return `true` if the ownership of `a` is ordered before that of `b`. [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_ptr<ELEMENT_TYPE>] const& a, xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>] const& b) const noexcept; ---- [.small]#xref:bsl/owner_less-07/operator_call-03.adoc[_» more..._]# == 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]#