std::unorde...ucket_count(3)
π std::unorde...ucket_count(3) β C++ Standard Libary π
Hey bestie!! Welcome to the std::unorde...ucket_count(3) page from the C++ Standard Libary. This is the manual for std::unordered_set::bucket_count, and it's lowkey a tiny icon: it returns the number of buckets in the container. Let's go, no cap. π«Άβ¨
β¨ NAME β¨
std::unordered_set::bucket_count - std::unordered_set::bucket_count
Okay so the name and the one-line description are literally the same string, and honestly? Commitment. π
πΈ Synopsis πΈ
size_type bucket_count() const; (since C++11)
Since C++11, bestie. The return type is size_type, it takes no arguments, and it's a const member function. Call it and it returns the number of buckets in the container. π
π Parameters π
(none) β literally none. Zero. No arguments. Not even a lil snack. π
π Return value π
The number of buckets in the container. That's the return value, periodt. π
π¦ Complexity π¦
Constant. That's it. No twist, no side quest, just constant energy. β
π₯ 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). π₯
xoxo bestie π β source: http://cppreference.com, version/date: 2024.06.10, page: std::unorde...ucket_count(3). Periodt. π
π¦ 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