+ 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?
1 Odpowiedź
+ 2
It behaves like any other cpp function and needs a return value that makes sense
When we perform Operator Overloading do we need a return value (in this case return an object), if so why or why not?