September 11th, 2003, 10:36 AM
I want to insert several std :: pair in a map without anysorting. I just want to get the key,pair values as I inserted. What is the option, I should use?
Last edited by lalitha; September 11th, 2003 at 10:40 AM.
September 11th, 2003, 12:03 PM
If you disable the sorting, then you cannot access the data. This is because of the reason that you access to it by comparing the keys. So if that function is disabled how can you access the elements.
You can try it using a list.