Insertion order in nested map c++ : <p>I currently have a nested <code>map&lt; int, map &lt; int, char &gt; &gt; m;</code>. I have 2 int values as keys for x,y coordinates and I save a char <code>m[x][y]='A'. I tried inserting the values into a vector</code>map&lt; vector, map&lt; vector, char> > m;` but didn't work. Is there a way to keep track of order of char saved to the map?</p>
