September 11th, 2003, 11: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 11:40 AM.
September 11th, 2003, 01: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.