Return memory previously allocated at the specified address.

Synopsis

Declared in <bsltf_stdtestallocator.h>

void
deallocate(
    pointer address,
    size_type numElements = 1);

Description

Return memory previously 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 allocate

numElements

number of objects (ignored by this allocator)

Created with MrDocs