in "Overloading the Assignment Operator" page 418 at the bottom, the example member function returns "* this".
At the top of pg 419, Ivor says that we return a reference with this statement.
I'm a little confused. My understanding is that "this" is a pointer (to the object calling the function). So, if I use, "
* this" am I de-referencing the
this pointer, and therefore passing an "object" back?
VC++ help document,
http://ms-help://MS.VSCC.v80/MS.MSDN...7fad90791f.htm
says
The expression *this is commonly used to return the current object from a member function:
Sincerely,
Brian