Return a reference to the bucket at the specified index.
Synopsis
Declared in <bslstl_hashtable.h>
bslalg::HashTableBucket const&
bucketAtIndex(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
Name |
Description |
index |
bucket index |
Created with MrDocs