bsl::weak_ptr<ELEMENT_TYPE>

Deduce the specified type ELEMENT_TYPE corresponding template parameter of the bsl::shared_ptr supplied to the constructor of weak_ptr.

Synopsis

Declared in <bslstl_sharedptr.h>

template<class ELEMENT_TYPE>
weak_ptr<ELEMENT_TYPE>(shared_ptr<ELEMENT_TYPE>) -> weak_ptr<ELEMENT_TYPE>;