BloombergLP::bslma::SharedPtrRep::getDeleter

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>

virtual
void*
getDeleter(std::type_info const& type) = 0;