public member function


void deallocate (pointer p, size_type n);
Release block of storage
Releases a block of storage previously allocated with member allocate and not yet released.

The elements in the array are not destroyed by a call to this member function.

In the default allocator, the block of storage is at some point deallocated using ::operator delete (either during the function call, or later).


Pointer to a block of storage previously allocated with allocator::allocate.
pointer is a member type (defined as an alias of T* in std::allocator<T>).
Number of elements allocated on the call to allocator::allocate for this block of storage.
The member type size_type is an alias of size_t (in the standard default allocator). size_t is an unsigned integral type.

Return value


See also