BloombergLP::bdlma::Pool::deleteObjectRaw

Destroy the specified object and then use this pool to deallocate its memory footprint. This method has no effect if object is 0. The behavior is undefined unless object is not a secondary base class pointer (i.e., the address is (numerically) the same as when it was originally dispensed by this pool), was allocated using this pool, and has not already been deallocated.

Synopsis

Declared in <bdlma_pool.h>

template<class TYPE>
void
deleteObjectRaw(TYPE const* object);