
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