[#BloombergLP-bslma-SharedPtrRep-getDeleter] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SharedPtrRep.adoc[SharedPtrRep]::getDeleter :relfileprefix: ../../../ :mrdocs: Return a pointer to the deleter stored by the derived representation (if any) if the deleter has the same type as that described by the specified `type`, and a null pointer otherwise. Note that while this methods appears to be a simple accessor, it is declared as non‐ `const` qualified to support representations storing the deleter directly as a data member. == Synopsis Declared in `<bslma_sharedptrrep.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void* getDeleter(std::type_info const& type) = 0; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#