+ 1

Operator Overloading

When we perform Operator Overloading do we need a return value (in this case return an object), if so why or why not?

3rd Aug 2016, 3:44 AM
Bryan Aguilar
Bryan Aguilar - avatar
1 ответ
+ 2
It behaves like any other cpp function and needs a return value that makes sense
3rd Aug 2016, 9:54 AM
Mike