std::unordered_set<Key,Hash,KeyEqual,Allocator>::bucket_count - cppreference.com (original) (raw)

| size_type bucket_count() const; | | (since C++11) | | --------------------------------- | | ------------- |

Returns the number of buckets in the container.

[edit] Parameters

(none)

[edit] Return value

The number of buckets in the container.

[edit] Complexity

Constant.

[edit] See also