If I have the following code snippet
std::unordered_multimap<std::string, std::vector<double>> myMap; std::vector<double> v1, v2, v3; // init v1, v2, v3.... myMap.insert(std::make_pair<std::string, std::vector<double>("vec", v1)); myMap.insert(std::make_pair<std::string, std::vector<double>("vec", v2)); myMap.insert(std::make_pair<std::string, std::vector<double>("vec", v3));
If I access the values ​​using an iterator, they will always be in the following order: v1, v2, v3
So basically, if I insert elements of the same key, but with different values, do they always keep the insertion order?
source share