std::unorde...bucket_count(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– std::unorde...bucket_count(3) πŸ’–

okay so this is the std::unorde...bucket_count(3) page, straight outta the C++ Standard Libary manual, and we are talking about std::unordered_multiset::bucket_count. she's a public member function, bestie, and the vibe is very β€œhow many buckets are in this container?” πŸ’…


🌸 NAME 🌸

std::unordered_multiset::bucket_count β€” std::unordered_multiset::bucket_count

✨ Synopsis ✨

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

Returns the number of buckets in the container. periodt.

πŸŽ€ Parameters πŸŽ€

None. Zero. Nada. (none) β€” she takes no arguments, no cap.

πŸ¦‹ Return value πŸ¦‹

The number of buckets in the container. literally that's the whole return value, and it ate. πŸ’–

πŸ”₯ Complexity πŸ”₯

Constant. β€” yes ma'am, constant complexity, iconic behavior only. ✨

πŸ‘‘ 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)

so yeah, that's the whole page. source: http://cppreference.com, version/date: 2024.06.10, page: std::unorde...bucket_count(3) β€” mwah, slay, bye bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from