Create a HashTableAnchor with the specified attributes.
Synopsis
Declared in <bslalg_hashtableanchor.h>
HashTableAnchor(
HashTableBucket* bucketArrayAddress,
std::size_t bucketArraySize,
BidirectionalLink* listRootAddress);
Description
Create a bslalg::HashTableAnchor object having the specified bucketArrayAddress, bucketArraySize, and listRootAddress attributes. The behavior is undefined unless bucketArrayAddress refers to a contiguous sequence of valid bslalg::HashTableBucket objects of at least bucketArraySize or unless both bucketArrayAddress and bucketArraySize are 0.
Parameters
Name |
Description |
bucketArrayAddress |
address of the contiguous bucket array, or 0 |
bucketArraySize |
number of buckets in the array, or 0 |
listRootAddress |
head of the element list, or 0 |
Created with MrDocs