The std::unordered_map has hash-value for each key. What is the way to obtain those hash values?
What for? To evaluate relevance of a hash function to the data set. I could just generate hashes from outside, but I might not have access to the hash function used.
There is access to the hash function used:
Demo
It is possible to provide a custom hash function for
std::unordered_mapby passing a differentHashclass to its constructor.