bsl::shared_ptr<ELEMENT_TYPE>

Deduce the specified type ELEMENT_TYPE corresponding template parameter of the std::unique_ptr supplied to the constructor of shared_ptr.

Synopsis

Declared in <bslstl_sharedptr.h>

template<
    class ELEMENT_TYPE,
    class DELETER>
shared_ptr<ELEMENT_TYPE>(std::unique_ptr<ELEMENT_TYPE, DELETER>) -> shared_ptr<ELEMENT_TYPE>;