std::multimap preserving order in erase() and insert()?

Hei Chan structurechart@yahoo.com
Wed Nov 28 07:24:00 GMT 2012


Hi,

I have a similar question to this: http://stackoverflow.com/questions/2643473/does-stdmultiset-guarantee-insertion-order


I wonder whether GCC 4.6.2 has already implemented the part of c11 standard that guarantees to preserve the order of insertion as well as the order of insertion of erasure in std::multimap.

Thanks in advance.


Cheers,
Hei



More information about the Gcc-help mailing list