overload operator with friend « Operator Overloading « C++ Tutorial






10.16.overload operator with friend
10.16.1.Make op-- a friend; use reference
10.16.2.+ is overloaded using friend function