[#BloombergLP-bslstl-HashTable_Util] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::HashTable_Util :relfileprefix: ../../ :mrdocs: This utility `struct` provide utilities for initializing and destroying bucket lists in anchors that are managed by a `HashTable`. They cannot migrate down to `bslalg::HashTableImpUtil` as they rely on the standard library `bslma_allocatortraits` for their implementation. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct HashTable_Util; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/HashTable_Util/assertNotNullPointer-0c.adoc[`assertNotNullPointer`] | `assertNotNullPointer` overloads | xref:BloombergLP/bslstl/HashTable_Util/destroyBucketArray.adoc[`destroyBucketArray`] | Destroy the specified `data` array of the specified length `bucketArraySize`, that was allocated by the specified `allocator`. | xref:BloombergLP/bslstl/HashTable_Util/initAnchor.adoc[`initAnchor`] | Load into the specified `anchor` a (contiguous) array of buckets of the specified `bucketArraySize` using memory supplied by the specified `allocator`. The behavior is undefined unless `0 < bucketArraySize` and `0 == anchor‐>bucketArraySize()`. Note that this operation has no effect on `anchor‐>listRootAddress()`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#