For a simple C ++ structure that has three ints to identify a unique structure, which can be a good implementation of a hash function if you don't know too much about the realistic values ββof a, b, and c. Do I need to use struct as Key for unordered_map?
struct Key {
int a, b, c;
}
source
share