deleteObject overloads
Declared in <bdlcc_objectpool.h>
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.
virtual
void
deleteObject(TYPE* instance) = 0;
» more...
This concrete implementation of bdlma::Factory::deleteObject invokes releaseObject on the specified object, returning it to this pool. The behavior is undefined if object is already in a released state. Note that this does not destroy the object and should not be invoked directly.
virtual
void
deleteObject(TYPE* object);
» more...