Re: Can overloaded '+' return an array? If so, how?




PeterSShenkin wrote:
Thus, if the inability of an overloaded '+' to always return a scalar
was a conscious decision, I believe it was the wrong one. What if you
want to add two arrays?

Whoops.... of course I meant "to only return a scalar...."

-P.

.