Is it possible to overload the operator *+= such that
obj1 *+= obj2;
implies that
obj1=obj1*(obj1+obj2);
This is a discussion on Opeartor overloading within the C++ Programming forums, part of the General Programming Boards category; Is it possible to overload the operator *+= such that obj1 *+= obj2; implies that obj1=obj1*(obj1+obj2);...
Is it possible to overload the operator *+= such that
obj1 *+= obj2;
implies that
obj1=obj1*(obj1+obj2);
There would have to be an operator *+= for you to be able to overload it.
Is there any operator *+= in C/C++ i didn't found sorry u cant