Return previously allocated memory to this allocator.
Synopsis
Declared in <bsltf_stdstatefulallocator.h>
void
deallocate(
TYPE* address,
bslma::Allocator::size_type numElements);
Description
Return memory previously allocated at the specified address for numElements back to this allocator. The numElements argument is ignored by this allocator type. The behavior is undefined unless address was allocated using this allocator object and has not already been deallocated.
Parameters
Name |
Description |
address |
memory previously returned by |
numElements |
number of elements originally requested (ignored) |
Created with MrDocs