overload object and primitive data type « Operator Overloading « C++ Tutorial






10.2.overload object and primitive data type
10.2.1.Overload for integer + object and object + integer.
10.2.2.+ is overloaded for int + Point
10.2.3.+ is overloaded for Point + int