Return a shared pointer to the object referred to by this weak pointer and managing the same object as that managed by this weak pointer (if any) if false == expired(), and a shared pointer in the empty state otherwise. Note that the behavior of this method is the same as that of lock.
Declared in <bslstl_sharedptr.h>
shared_ptr<ELEMENT_TYPE>
acquireSharedPtr() const noexcept;