std::unordered_map::key_eq(3)

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

✨ NAME ✨

std::unordered_map::key_eq - std::unordered_map::key_eq

okay so bestie, this is the C++ Standard Libary manual page for std::unordered_map::key_eq(3), and it's literally the member that hands you the key-comparison function. πŸ•΅οΈβ€β™€οΈπŸ’…

πŸ¦‹ Synopsis πŸ¦‹

key_equal key_eq() const;  (since C++11)

Returns the function that compares keys for equality. that's the whole plot, no cap. ✨

🌸 Parameters 🌸

(none) β€” not a single parameter, bestie. literally none. πŸ™ˆ

πŸ’– Return value πŸ’–

The key comparison function. yep, that's what you get back. πŸŽ€

⭐ Complexity ⭐

Constant. it's giving constant energy, periodt. πŸ’€βœ¨

🫢 See also 🫢

  • hash_function β€” returns function used to hash the keys (public member function)

source/version: http://cppreference.com Β· date: 2024.06.10 Β· page: std::unordered_map::key_eq(3) β€” bye bestie, go slay those key comparisons πŸ’–πŸ‘‘

πŸ“¦ where this page comes from