[#bsl-weak_ptr-0d-owner_before-0e] = xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak_ptr]::owner_before :relfileprefix: ../../ :mrdocs: Return `true` if the address of the `BloombergLP::bslma::SharedPtrRep` object used by this weak pointer is ordered before the address of the `BloombergLP::bslma::SharedPtrRep` object used by the specified `other` shared pointer under the total ordering defined by `std::less<BloombergLP::bslma::SharedPtrRep *>`, and `false` otherwise. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> bool owner_before(xref:bsl/weak_ptr-0d.adoc[weak_ptr<ANY_TYPE>] const& other) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#