Hello, i've come across this problem and got curious, after fiddling with the code for a while, i got operator working for non - pointer class,
like
MyClass a,b;
a += b;
but what fails are the pointers, (the below)
MyClass *a, *b;
a += b;
this fails with the error, invalid operand of types.
How do you get the above working? any hint, suggestion, or solution will be appreciated