BloombergLP::bslma::DeallocatorProctor::reset

Set the specified memory as the block of memory to be managed by this proctor. The behavior is undefined unless memory is non-zero and was allocated by the allocator (or pool) supplied at construction. Note that this method releases any previously-managed memory from management (without deallocating it), and so may be invoked with or without having called release when reusing this object.

Synopsis

Declared in <bslma_deallocatorproctor.h>

void
reset(void* memory);