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
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?