std::unorde...(size_type),(3)
okay so we're in the C++ Standard Libary manual β yes bestie, it's spelled like that up top π β and the page is std::unorde...(size_type),(3). It's bucket-end iterator business for std::unordered_set. Let's go π
β¨ NAME β¨
std::unordered_set::end(size_type), -std::unordered_set::end(size_type),
πΈ Synopsis πΈ
local_iterator end( size_type n ); (since C++11)
const_local_iterator end( size_type n ) const; (since C++11)
const_local_iterator cend( size_type n ) const; (since C++11)
This one returns an iterator to the element following the last element of the bucket with index n. It's a placeholder, and attempting to access it results in undefined behavior β so like, do not dereference it, bestie ππ.
π Parameters π
nβ the index of the bucket to access.
π¦ Return value π¦
Iterator to the element following the last element. That's the whole vibe. β¨
π Complexity π
Constant. No cap.
π See also π
begin(size_type)β returns an iterator to the beginning of the specified bucket.cbegin(size_type)β (public member function).
mwah π β served fresh from http://cppreference.com, dated 2024.06.10, for the std::unorde...(size_type),(3) page. Byeeee π¦
π¦ 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