Could anybody explain me what is the difference between overload == and <?
==
<
For example, if I use a map:
map
Probably because map is implemented as a balanced tree. Use unordered_map if you require a hash table.