3 ms·
Well map in C++ is ordered, while unordered_map is not. If the name was hashmap then it wouldn't be surprising, but for "map" and especially "dictionary" I can
by magicalhippo 8y ago
Well map in C++ is ordered, while unordered_map is not.
If the name was hashmap then it wouldn't be surprising, but for "map" and especially "dictionary" I can see how people might expect them to be ordered without further information.