|
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 destructed by a call to this member function.
In the default allocator, the block of storage is deallocated using ::operator delete.
Parameters
- p
- Pointer to a block of storage previously allocated with allocator::allocate.
In allocator, the member type pointer is an alias of T*.
- n
- Number of elements (each of size sizeof(T)) allocated on the call to allocator::allocate for this block of storage.
In allocator, the member type size_type is an alias of size_t, which is an unsigned integral type.
Return value
none
See also
|