I have a type Extended_Expression which I use in unordered sets, and with an equality declared like this:
bool ExtendedExpression::operator == (const ExtendedExpression & exp) const{ ... }
But the find operator of unordered_set does not seem to work, it seems that it is using another kind of equality, like memory adress.
What is the simplest way to specify the equality operator to be used ? I'm beginner in C++ sorry if the question is obvious.