std::unorde...ash_function(3)
π std::unordered_set::hash_function
okay so real talk, this page lives in the C++ Standard Library manual (yes the header literally calls it "Libary", we don't gatekeep typos here, it's iconic) and the page title is std::unorde...ash_function(3) β the terminal just did that thing where it truncates a long name, no thoughts head empty, but bestie it's std::unordered_set::hash_function, iykyk π«Ά
β¨ NAME β¨
std::unordered_set::hash_function β literally just std::unordered_set::hash_function, that's the whole name, she said what she said π
πΈ Synopsis πΈ
hasher hash_function() const; (since C++11)
so this bad boy returns the function that hashes the keys. that's it. that's the vibe. π₯
ngl the (since C++11) is doing a lot of work there β this member has been around since C++11 and it's not planning on leaving π
π¦ Parameters π¦
(none)
like, zero. no args. she takes nothing and gives everything, main character energy fr fr π
π Return value π
The hash function. β¨
β Complexity β
Constant. β constant time bestie, we love a low-effort icon π§
π See also π
key_eqβ returns the function used to compare keys for equality (public member function) πΈ
and that's the whole page, no cap!! this little cutie comes to you from http://cppreference.com, dated 2024.06.10 β mwah, go slay some hashing πππ¦
π¦ 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