BloombergLP::bdlma::Deleter::deleteObject

Destroy the specified instance and release its memory.

Synopsis

Declared in <bdlma_deleter.h>

virtual
void
deleteObject(TYPE* instance) = 0;

Description

Destroy the specified instance based on its static type and return its memory footprint to the appropriate memory manager. Note that a particular implementation is allowed to destroy this deleter itself.

Parameters

NameDescription
instanceobject to destroy