zero_after_free_allocator::deallocate

Clears and returns memory previously obtained from allocate.

Synopsis

Declared in <support/allocators/zeroafterfree.h>

void
deallocate(
    T* p,
    std::size_t n);

Parameters

NameDescription
pPointer to the storage being deallocated.
nNumber of objects of type T that the storage held.