In the topic Hashing there is a video about creating a unordered_map of a user defined class,
in that video
- Why are we actually using operator overloading (==),please explain it?
2.why we are making the operator overloading function as the constant function
i.e
bool operator == (const Student &d) const{
}
why are we using that second const,explain it in detail?