Destroy the specified instance and release its memory.
Synopsis
Declared in <bdlma_factory.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. The behavior is undefined unless instance was obtained from a call to createObject on this object factory and has not yet been deleted.
Parameters
Name |
Description |
instance |
object to destroy |
Created with MrDocs