std::unorde...ucket_count(3)
π std::unorde...ucket_count(3) π
okay bestie, welcome to std::unorde...ucket_count(3) from the C++ Standard Libary manual. This page is short, specific, and honestly kind of iconic for how hard it commits to one tiny job. Let's go. β¨
πΈ NAME πΈ
std::unordered_map::bucket_count - std::unordered_map::bucket_count β yes bestie, that's the name twice. No notes. π
β¨ Synopsis β¨
size_type bucket_count() const; (since C++11)
Returns the number of buckets in the container. That's the whole plot. No cap. π
π Parameters π
(none) β literally zero parameters. Not a single one. The void is the moment. π«Ά
π¦ Return value π¦
The number of buckets in the container. It's giving "count the buckets" main character energy. β¨
π Complexity π
Constant. No drama, no scaling, just constant. Periodt. π
π 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)
okay that's the page bestie! source: http://cppreference.com, version/date: 2024.06.10, page: std::unorde...ucket_count(3). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms