Hi guys
This thread is a follow-up of Overloading unary operators using pointers, which I have thought about for some time. If I overload an operator using a member function (this can be a unary or binary operator - it is not important what kind it is), then is the operand the this-pointer and the possible argument of the member functions prototype? I.e., is the operand for "+",
both a and the this-pointer or what?Code:class test{ public: void operator+(test a); }