I'm trying to understand the ordering in a std::map.
http://www.cplusplus.com/reference/map/map/
Internally, the elements in a map are always sorted by its key following a specific strict weak ordering criterion indicated by its internal comparison object (of type Compare).
If I do this:
   myMap["two"] = 2;
   myMap["three"] = 3;
   myMap["one"] = 1;
and then iterate over myMap, printing out the value as I go, what will the output be?
I'm looking for a container where the elements are in the order that they are added. In this case I'd expect the output 2, 3, 1 for iteration.
 
     
    