std::unorde...sh_function(3)

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

πŸ¦‹ std::unorde...sh_function(3) πŸ¦‹

okay bestie, this page comes from the C++ Standard Libary manual β€” yes, that’s the spelling up top, and the full main-character function is std::unordered_multiset::hash_function πŸ’…βœ¨

πŸ’– NAME πŸ’–

std::unordered_multiset::hash_function β€” and yep, the NAME section says std::unordered_multiset::hash_function again. It’s giving β€œI’m the title AND the subtitle,” and honestly? Obsessed. πŸŽ€

✨ Synopsis ✨

hasher hash_function() const;  (since C++11)

Returns the function that hashes the keys. That’s the whole job, bestie β€” no cap. 🫢

πŸ“ Parameters πŸ“

(none) β€” not a single parameter. Zero. Nada. The parameter section is literally empty and thriving. πŸ™ˆ

🌸 Return value 🌸

The hash function. That’s it. That’s the return value. Short, sweet, iconic. πŸ‘‘

πŸ”₯ Complexity πŸ”₯

Constant. No extra drama, just constant energy. πŸ’€

πŸŽ€ See also πŸŽ€

  • key_eq β€” returns the function used to compare keys for equality (public member function)

xoxo, your Unix bestie πŸ’– β€” source/version: http://cppreference.com, dated 2024.06.10, page std::unorde...sh_function(3). Slay and goodbye! 🌈✨

πŸ“¦ where this page comes from