std::unordered_set bucket_count() method
- since C++11
// Const version only
size_type bucket_count() const;
Returns the number of buckets in the container.
Parameters
(none)
Return value
The number of buckets in the container.
Complexity
Constant - O(1).
Exceptions
(none)
Examples
important
This section requires improvement. You can help by editing this doc page.
This article originates from this CppReference page. It was likely altered for improvements or editors' preference. Click "Edit this page" to see all changes made to this document.
Hover to see the original license.
Hover to see the original license.