Return the memory block at the specified address back to this allocator.
Synopsis
Declared in <bdlma_guardingallocator.h>
virtual
void
deallocate(void* address) override;
Description
If address is 0, this method has no effect. Otherwise, the guard page associated with address is unprotected and also deallocated. The behavior is undefined unless address was returned by allocate and has not already been deallocated.
Parameters
Name |
Description |
address |
memory previously allocated by this allocator |
Created with MrDocs