Create a weak_ptr that shares ownership with the specified other weak pointer.

Synopsis

Declared in <bslstl_sharedptr.h>

template<class COMPATIBLE_TYPE>
weak_ptr(weak_ptr<COMPATIBLE_TYPE> const& other) noexcept;

Created with MrDocs