std::unorde...size_type),(3)

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

Okay bestie, this is from the C++ Standard Libary manual, section 3 β€” the page title is showing up truncated as std::unorde...size_type),(3), and we are literally about to make bucket iterators make sense. 🫢

✨ NAME ✨

The NAME section is giving:

std::unordered_multiset::begin(size_type),

then a little -

then std::unordered_multiset::begin(size_type),

again. No cap, that’s what’s printed.

πŸ¦‹ Synopsis πŸ¦‹

All three signatures are since C++11, periodt:

          local_iterator begin( size_type n );               (since C++11)
          const_local_iterator begin( size_type n ) const;   (since C++11)
          const_local_iterator cbegin( size_type n ) const;  (since C++11)

Returns an iterator to the first element of the bucket with index n.

πŸ’– Parameters πŸ’–

  • n β€” the index of the bucket to access.

🌸 Return value 🌸

  • Iterator to the first element.

πŸ”₯ Complexity πŸ”₯

Constant. That’s it, bestie β€” constant.

πŸ‘‘ See also πŸ‘‘

  • end(size_type) β€” returns an iterator to the end of the specified bucket.
  • cend(size_type) β€” public member function.

Source/version sign-off: http://cppreference.com, dated 2024.06.10. Mwah, go slay those buckets πŸ’…βœ¨

πŸ“¦ where this page comes from