[#bsl-weak_ptr-0d-2constructor-06] = xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak_ptr]::weak_ptr :relfileprefix: ../../ :mrdocs: Create a weak pointer in the empty state and referring to no object, i.e., a weak pointer having no representation. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr weak_ptr() noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#