BloombergLP::bslstl::HashTable::countElementsInBucket

Return the number elements contained in the bucket at the specified index. Note that this operation has linear run-time complexity with respect to the number of elements in the indexed bucket.

Synopsis

Declared in <bslstl_hashtable.h>

HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>::SizeType
countElementsInBucket(SizeType index) const;