I didn't find any documentation about map in OMNeT++.
I'm trying to sort a map<int,double>
by value, not by key, and erase some data.
I declare the map and iterator like this
std::map<int,double> Dlist;
std::map<int,double>::iterator it;
I tried
sort(Dlist.begin(), Dlist.end());
but there is an error.
Also the iterator doesn't return values
iterator.first
iterator.second