Hi guys
This thread is a follow-up of http://cboard.cprogramming.com/cplus...ointers-2.html, 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);
}