the std::map refernce at http://www.cplusplus.com/reference/stl/map/
does not mention any == oprerator. But my code containing m1==m2 compiles (where m1 and m2 are of types map<,> ) . What does == for maps do?
Am I looking at an out-dated reference?
the std::map refernce at http://www.cplusplus.com/reference/stl/map/ does not mention any == oprerator. But my code
Share
Yes, you are looking at an outdated reference. It does what you would expect: http://en.cppreference.com/w/cpp/container/map/operator_cmp