Return the memory block at the specified address back to this allocator. If address is 0, this function has no effect (e.g., on allocation statistics). Otherwise, decrease the number of currently allocated bytes by the size originally requested for the block. The behavior is undefined unless address was allocated using this allocator object and has not already been deallocated.
Synopses
Declared in <bdlma_countingallocator.h>
Return the memory block at the specified address back to this allocator. If address is 0, this function has no effect (e.g., on allocation statistics). Otherwise, decrease the number of currently allocated bytes by the size originally requested for the block. The behavior is undefined unless address was allocated using this allocator object and has not already been deallocated.
virtual
void
deallocate(void* address) override;
void
deallocate(
void* __p,
size_t __bytes,
size_t __alignment = _S_max_align);
Created with MrDocs