[#BloombergLP-bslalg-HashTableAnchor-setBucketArrayAddressAndSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableAnchor.adoc[HashTableAnchor]::setBucketArrayAddressAndSize :relfileprefix: ../../../ :mrdocs: Set the bucket array address and size attributes of this object. == Synopsis Declared in `<bslalg_hashtableanchor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setBucketArrayAddressAndSize( xref:BloombergLP/bslalg/HashTableBucket.adoc[HashTableBucket]* bucketArrayAddress, std::size_t bucketArraySize); ---- == Description Set the bucket array address and bucket array size attributes of this object to the specified `bucketArrayAddress` and `bucketArraySize` values. 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 [cols="1,4"] |=== | Name| Description | *bucketArrayAddress* | address of the contiguous bucket array, or 0 | *bucketArraySize* | number of buckets in the array, or 0 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#