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 defaultallocator, the block of storage is at some point deallocated using::operator delete(either during the function call, or later).
参数
p
Pointer to a block of storage previously allocated with allocator::allocate. 指针is a member type (defined as an alias ofT*instd::allocator<T>).
n
Number of elements allocated on the call to allocator::allocate for this block of storage. The member typesize_typeis an alias of size_t (in the standard default allocator). size_t is an unsigned integral type.