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). Note that if original is in the empty state, this weak pointer will be initialized to the empty state.

Synopsis

Declared in <bslstl_sharedptr.h>

weak_ptr(weak_ptr const& original) noexcept;

Created with MrDocs