I saw this: question
But the answers there are very complicated for a C++ newbie like me. I would like it if someone could help me out.
CLASSA & operator=(CLASSA && other); //move assignment operator
CLASSA & operator=(CLASSA other); //copy assignment operator
I am still failing to see why we require both of these? They basically do the same thing? So what is the difference and where would you use one over the other?