Cast ptr to MANAGED_TYPE * and delete it.
Synopsis
Declared in <bslma_managedptr.h>
static
void
deleter(
void* ptr,
void* cookie);
Description
Cast the specified ptr to (template parameter) type MANAGED_TYPE *, and then call delete with the cast pointer.
Parameters
Name |
Description |
ptr |
pointer to the managed object to delete |
cookie |
unused cookie pointer |
Created with MrDocs