I'd like clarification on the C++ standard, specifically where it says (my interpretation) in section 20.1.3 that "for class T and an instance of class T called x, T(x) must be equivalent to x" for the class to work with standard containers.
I couldn't find a definition of 'equivalent'. Does this mean that I have to define operator==
as a member of my class, so that T(x) == x
returns true?