std::unorde...(size_type),(3)
Bestie, welcome to the std::unorde...(size_type),(3) page from the C++ Standard Libary β yes, thatβs the header vibe β and itβs giving bucket-iterator realness. Weβre keeping every literal detail, periodt. π
πΈ NAME πΈ
Okay so the NAME line is std::unordered_set::begin(size_type), β with the comma, bestie β followed by a little dash, then std::unordered_set::begin(size_type), again. We are not deleting the comma or the repeat. π
β¨ Synopsis β¨
Hereβs the exact synopsis, all C++11-coded and iconic:
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)
And the synopsis also says: Returns an iterator to the first element of the bucket with index n. π«Ά
π Parameters π
nβ the index of the bucket to access. Thatβs it, thatβs the parameter, and itβs lowkey important. π¦
π¦ Return value π¦
Iterator to the first element. Slay. π
π Complexity π
Constant. No cap, constant. β
π See also π
end(size_type)β returns an iterator to the end of the specified bucket. Bestie, thatβs the bucket-end counterpart. πcend(size_type)β public member function, also in the bucket-end club. π
Signing off with the source/version and date: this page is from http://cppreference.com, dated 2024.06.10. 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