+ 1
Whats an overload ?
overload
2 odpowiedzi
+ 1
Operator overloading is a way to change what the operator does according to your needs.
For instance: it is useful when summing collections of values, so that you can overload the plus '+' operator to add the first element of each collection, the second element of each collection, and so on.
It is possible to do the same process by defining function that does it, but operation overloading makes the code more organized and easier to read and understand.
0
Marchesa i didn't understand its concept very much but thank you anywayq