[#bsl-weak_ptr-0d-expired] = xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak_ptr]::expired :relfileprefix: ../../ :mrdocs: Return `true` if this weak pointer is in the empty state or the object that it originally referenced has been destroyed, and `false` otherwise. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool expired() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#