[#BloombergLP-bslstl-HashTable-bucketAtIndex] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/HashTable.adoc[HashTable]::bucketAtIndex :relfileprefix: ../../../ :mrdocs: Return a reference to the bucket at the specified `index`. == Synopsis Declared in `<bslstl_hashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslalg/HashTableBucket.adoc[bslalg::HashTableBucket] const& bucketAtIndex(xref:BloombergLP/bslstl/HashTable/SizeType.adoc[SizeType] index) const; ---- == Description Return a reference offering non‐modifiable access to the `HashTableBucket` at the specified `index` position in the array of buckets of this table. The behavior is undefined unless 'index < numBuckets()'. == Return Value non‐modifiable reference to the bucket at `index` == Parameters [cols="1,4"] |=== | Name| Description | *index* | bucket index |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#