An unordered_map with a key that consists of multiple values?

Hi! I’m wondering if there’s an easy way to set multiple values to be the key of an unordered_map (the specific scenario I have in mind is to store a pair of x-y coordinate as the key). I know that common containers like pairs, tuples, and structs are not suitable for this task as they do not have built-in hash functions, and I’m too lazy to implement one myself. Any help would be much appreciated!

you could use a string as the key. or something big * x + y