[#bsl-weak_ptr-0d-2constructor-0d]
= xref:bsl.adoc[bsl]::xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr]::weak&lowbar;ptr
:relfileprefix: ../../
:mrdocs:

Create a weak pointer that refers to the same object (if any) as the specified `original` weak pointer, and increment the number of weak references to the object managed by `original` (if any)&period; Note that if `original` is in the empty state, this weak pointer will be initialized to the empty state&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
weak&lowbar;ptr(xref:bsl/weak_ptr-0d.adoc[weak&lowbar;ptr] const& original) noexcept;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
