Clears and returns memory previously obtained from allocate.

Synopsis

Declared in <support/allocators/zeroafterfree.h>

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

Parameters

Name

Description

p

Pointer to the storage being deallocated.

n

Number of objects of type T that the storage held.

Created with MrDocs