Set the memory block managed by this proctor.
Synopsis
Declared in <bslma_deallocatorproctor.h>
void
reset(void* memory);
Description
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.
Parameters
Name |
Description |
memory |
Memory block to manage; must be non‐zero and from the construction allocator. |
Created with MrDocs