BloombergLP::bdlcc::ObjectPool::deleteObject

Return the specified object to this pool via releaseObject.

Synopsis

Declared in <bdlcc_objectpool.h>

virtual
void
deleteObject(TYPE* object);

Description

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.

Parameters

NameDescription
objectobject previously obtained from this pool