I know that std::map is by nature an ordered map, but I wonder:
If I have classes A and B and I create a std::map<A, B> myMap;, what is the minimal needed to create my own order?
Is overloading A::operator <(const A&) enough?
Or do I have to make my own iterator?