Utilities for initializing and destroying HashTable bucket arrays.

Synopsis

Declared in <bslstl_hashtable.h>

struct HashTable_Util;

Description

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.

Static Member Functions

Name

Description

assertNotNullPointer

assertNotNullPointer overloads

destroyBucketArray

Destroy and deallocate a bucket array.

initAnchor

Initialize anchor with a newly allocated bucket array.

Created with MrDocs