[#bsl-shared_ptr-0a-owner_before-02] = xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared_ptr]::owner_before :relfileprefix: ../../ :mrdocs: Return `true` if this shared pointer precedes `other` in owner order. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ANY_TYPE> bool owner_before(xref:bsl/shared_ptr-0a.adoc[shared_ptr<ANY_TYPE>] const& other) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#