[#bsl-owner_less-06-operator_call-0e] = xref:bsl.adoc[bsl]::xref:bsl/owner_less-06.adoc[owner_less<void>]::operator() :relfileprefix: ../../ :mrdocs: Return `true` if the ownership of `a` is ordered before that of `b`. == Synopsis Declared in `<bslstl_ownerless.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE_A, class ELEMENT_TYPE_B> bool operator()( xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE_A>] const& a, xref:bsl/weak_ptr-0d.adoc[weak_ptr<ELEMENT_TYPE_B>] const& b) const noexcept; ---- == Description Return `true` if the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `a` is ordered before the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `b` under the total ordering supplied by `std::less<BloombergLP::bslma::SharedPtrRep *>`, and `false` otherwise. == 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]#