std::unorde...(size_type),(3)
β¨ NAME β¨
The NAME line here is a little chaotic, bestie: std::unordered_map::end(size_type), - and then std::unordered_map::end(size_type), again. That's literally the whole name. This page is std::unorde...(size_type),(3) from the C++ Standard Libary manual β yes, spelled exactly like that on the page π
.
πΈ 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)
Okay so this returns an iterator to the element following the last element of the bucket with index n. That element is just a placeholder β attempting to access it results in undefined behavior. Do not access it, fr fr π
π Parameters π
nβ the index of the bucket to access. That's the whole assignment, no cap.
π«Ά Return value π«Ά
- An iterator to the element following the last element. Periodt.
β‘ Complexity β‘
Constant. Iconic, quick, zero drama.
π¦ See also π¦
begin(size_type)β returns an iterator to the beginning of the specified bucket.cbegin(size_type)β public member function.
Signed, sealed, delivered: this was http://cppreference.com on 2024.06.10, for std::unorde...(size_type),(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