This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

library operator definition

Hi,

The STL map has many operators == defined, but none of them exist in <map>, where are they defined?

David

  • I see implementations of the function "operator==" in the header file <xtree>.  And I have tried some simple usage of == with elements of a map container.  I can find nothing wrong.  Do you see errors when you build, or when you execute the code?  Exactly what are these errors?

    Thanks and regards,

    -George