bsl::weak_ptr::weak_ptr

Create a weak pointer that refers to the same object (if any) as the specified original weak pointer, and reset original to an empty state.

Synopsis

Declared in <bslstl_sharedptr.h>

weak_ptr(BloombergLP::bslmf::MovableRef<weak_ptr> original) noexcept;