Deallocate the storage at p for n objects.

Synopsis

Declared in <bslma_allocatortraits.h>

using Base::deallocate;

Description

Invoke a.deallocate(p, n) via the underlying std::allocator_traits implementation. The behavior is undefined unless p was returned from a prior allocate call on an equal allocator and has not yet been deallocated.

Parameters

Name

Description

a

allocator that performs the deallocation

p

pointer previously returned by allocate

n

number of objects in the block to deallocate

Created with MrDocs