joseph cook wrote:
Not always. By default, yes, but you can specify other comparators, eg:
std::map<int, int, std::greaterrev ersedMap;
A map is always sorted using std::less
std::map<int, int, std::greaterrev ersedMap;
Comment