BloombergLP::bslma::StdTestAllocator::deallocate

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

NameDescription
pThe address of memory previously returned by allocate.
nThe number of objects (ignored).