Deallocate the memory at p previously allocated from m.

Synopsis

Declared in <bslma_bslallocator.h>

static
void
deallocate(
    allocator_type& m,
    pointer p,
    size_type n);

Parameters

Name

Description

m

allocator that performs the deallocation

p

address of memory previously returned by allocate

n

number of objects that were allocated

Created with MrDocs