Destroy and deallocate a bucket array.
Synopsis
Declared in <bslstl_hashtable.h>
template<class ALLOCATOR>
static
void
destroyBucketArray(
bslalg::HashTableBucket* data,
std::size_t bucketArraySize,
ALLOCATOR const& allocator);
Description
Destroy the specified data array of the specified length bucketArraySize, that was allocated by the specified allocator.
Parameters
Name |
Description |
data |
bucket array to destroy |
bucketArraySize |
number of buckets in the array |
allocator |
allocator that owns the array |
Created with MrDocs