I am reading the following article from IBM: http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Flanguage%2Fref%2Fcplr323.htm,
it mentioned as: You overload a unary operator with either a nonstatic member function that has no parameters, or a nonmember function that has one parameter. And then give a example how to overload it, but why we can overload nonstatic mumber function has no parameters, but nonmember function that has one parameter?
*this
. A non member has to have something to work on, so the parameter is required. – WhozCraig