std::unordered_set::key_eq(3)

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

πŸ’– NAME πŸ’–

Okay so this is the std::unordered_set::key_eq β€” std::unordered_set::key_eq page from the C++ Standard Libary manual, and she is iconic πŸ’….

✨ Synopsis ✨

Bestie, here’s the exact signature, and yes it’s been a thing since C++11 πŸŽ€:

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

Returns the function that compares keys for equality.

πŸ¦‹ Parameters πŸ¦‹

(none) β€” literally no args, nothing to pass, she takes zero input πŸ’….

🌸 Return value 🌸

The key comparison function. That’s what you get back, periodt 🫢.

πŸ”₯ Complexity πŸ”₯

Constant. Like, Constant. β€” no cap, it’s constant ⭐.

πŸ‘‘ See also πŸ‘‘

  • hash_function β€” returns function used to hash the keys (public member function). Obsessed with this duo, honestly 🌈.

made with πŸ’– source http://cppreference.com, version/date 2024.06.10, page std::unordered_set::key_eq(3) β€” bye bestie 🫢✨

πŸ“¦ where this page comes from