title: How to ensure that a std::map is ordered?
body: <p>Using a <code>std::map&lt;int, ...&gt;</code> how can I ensure at inserting time that iterating over it will take place in ascending order of the integer key?</p>