[#bsl-weak_ptr-0d-2constructor-086] = xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak_ptr]::weak_ptr :relfileprefix: ../../ :mrdocs: Create a `weak_ptr` that shares ownership with the specified `other` weak pointer. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class COMPATIBLE_TYPE> weak_ptr(xref:bsl/weak_ptr-0d.adoc[weak_ptr<COMPATIBLE_TYPE>] const& other) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#