Return memory previously allocated with allocate.

Synopsis

Declared in <bslma_stdtestallocator.h>

void
deallocate(
    pointer p,
    size_type n = 1);

Description

Return memory previously allocated with allocate to the underlying mechanism object by calling deallocate on the mechanism object with the specified p. The optionally specified n argument is ignored by this test allocator type.

Parameters

Name

Description

p

The address of memory previously returned by allocate.

n

The number of objects (ignored).

Created with MrDocs