how does the stl's multimap insert respect orderings?

后端 未结 7 2138
灰色年华
灰色年华 2020-12-03 21:15

I have some data which come with a integer index. I am continuous generating new data which needs to added to the collection of data I have, sorted by that index, at the sa

相关标签:
7条回答
  • 2020-12-03 21:48

    No it won't. If you want that, you should use a "sequence container" like a vector. You can load a vector with std::pairs for example?

    0 讨论(0)
提交回复
热议问题