[#BloombergLP-bslstl-HashTable_Util]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::HashTable&lowbar;Util
:relfileprefix: ../../
:mrdocs:

This utility `struct` provide utilities for initializing and destroying bucket lists in anchors that are managed by a `HashTable`&period; They cannot migrate down to `bslalg&colon;&colon;HashTableImpUtil` as they rely on the standard library `bslma&lowbar;allocatortraits` for their implementation&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;hashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct HashTable&lowbar;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`&period;
| 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`&period; The behavior is undefined unless `0 &lt; bucketArraySize` and `0 &equals;&equals; anchor&hyphen;&gt;bucketArraySize()`&period; Note that this operation has no effect on `anchor&hyphen;&gt;listRootAddress()`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
