Cast the specified ptr to (template parameter) type MANAGED_TYPE *, and then call delete with the cast pointer.
ptr
MANAGED_TYPE *
delete
Declared in <bslma_managedptr.h>
<bslma_managedptr.h>
static void deleter( void* ptr, void*);