[#bsl-shared_ptr-02] = xref:bsl.adoc[bsl]::xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>] :relfileprefix: ../ :mrdocs: Deduce the specified type `ELEMENT_TYPE` corresponding template parameter of the `std::unique_ptr` supplied to the constructor of `shared_ptr`. This guide does not participate in deduction unless the specified `ALLOC` inherits from `bslma::Allocator`. == Synopsis Declared in `<bslstl_sharedptr.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ELEMENT_TYPE, class DELETER, class ALLOC> requires bsl::is_convertible_v<ALLOC *, BloombergLP::bslma::Allocator *> xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>]( std::unique_ptr<ELEMENT_TYPE, DELETER>, ALLOC*) -> xref:bsl/shared_ptr-0a.adoc[shared_ptr<ELEMENT_TYPE>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#