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