multi index container descending order, without reverse iterator

1 Mar
2010
1 Mar
'10
2:04 p.m.
Hello, I'm using a multi_index container, non uniquely ordered by a float. I want to access it by descending order, but when i'm using reverse iterator, i cannot use erase. Is there an way to delete the last element? it--; is not defined. erase(data_set.end()) does not work , end indicates after the last element. Thank you very much, i'm in great hurry, and i don't have time to look the tutorials right now. Thank you in advance, Andrew Kokkalis

1 Mar
1 Mar
2:20 p.m.
New subject: multi index container descending order, without reverse iterator
I want to access it by descending order, but when i'm using reverse iterator, i cannot use erase. Is there an way to delete the last element?
http://stackoverflow.com/questions/404258/how-do-i-erase-a-reverse-iterator-...
5472
Age (days ago)
5472
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andrew Kokkalis
-
Igor R