I can't find a clear example showing me how to use multiset with a
custom compare function.
(like here: http://www.codeproject.com/vcpp/stl/setandmap.asp - I have
no idea why they have the 'struct gtrst', and why the set is than
initialized 'set<char gtstr*,> setString2')...
My problem is simple - I have a simple class
class CMember
{
int fitness;
int somedata[1000];
....
};
I want to have a multiset that keeps members sorted according to
fitness. How to do it in a simple, self-explaining way?
Jacek