
20 Jan
2013
20 Jan
'13
10:09 a.m.
The only problem with this is that the behavior is *undocmented*. If you want to stay legal, use hinted insertion with end() (which will *documentedly* work for all the ordered_non_unique indices of your container, not only the one you happen to be doing for the insertion.)
Joaqu?n M L?pez Mu?oz Telef?nica Digital
That is very interesting. The wording is kind of strange though: "If succesful, insertion happens as close as possible to the location just prior to |position|." I wonder if stability was the intention? Thank you very much for your analysis of the code. ---John