Quote Originally Posted by laserlight View Post
No, std::map's find() makes use of operator< instead, or the given predicate that is used to compare the keys to put them in the correct order. That said, if you are going to provide operator< it probably makes sense to provide operator== as well.
Hi Laserlight,

Why do you say that he should provide operator== as well? Because he may use STL algorithms?