Return a pointer to the stored deleter if it matches type.
Synopsis
Declared in <bslma_sharedptroutofplacerep.h>
virtual
void*
getDeleter(std::type_info const& type) override;
Description
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.
Return Value
pointer to the stored deleter if it matches type, otherwise null
Parameters
Name |
Description |
type |
type information describing the expected deleter type |
Created with MrDocs