Create a weak pointer that refers to the same object (if any) as the specified other compatible weak pointer, taking ownership of other's reference by move.

Synopsis

Declared in <bslstl_sharedptr.h>

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

Created with MrDocs