Function Set.bucketCount

Returns current bucket count in the container.

size_t bucketCount() const @property;

Bucket count equals to the number of the elements can be saved in the container in the best case scenario for key distribution, i.d. every key has a unique hash value. In a worse case the bucket count can be less than the number of elements stored in the container.

Returns

Current bucket count.

See Also

rehash.