std::unordered_multiset::bucket_count

From Cppreference

Jump to: navigation, search
size_type bucket_count() const;
(C++11 feature)

Returns the number of buckets in the container.

Contents

[edit] Parameters

(none)

[edit] Return value

the number of buckets in the container

[edit] Complexity

Constant

[edit] See also

bucket_size
returns the number of elements in specific bucket
(public member function)
max_bucket_count
returns the maximum number of buckets
(public member function)