Glossary: Algorithms Beyond the Basics in C++
hash (std::hash)
Also written: std::hash, hash map
The function that lets a key be stored in an `unordered_map`. Numbers and strings have one, but pairs and vectors don't, so those keys need `std::map`.
Glossary: Algorithms Beyond the Basics in C++
Also written: std::hash, hash map
The function that lets a key be stored in an `unordered_map`. Numbers and strings have one, but pairs and vectors don't, so those keys need `std::map`.