Ryan Joseph <r...@thealchemistguild.com> schrieb am So., 3. Juni 2018,
05:35:

>
>
> > On Jun 2, 2018, at 3:19 PM, denisgolovan <denisgolo...@yandex.ru> wrote:
> >
> > BTW, you first overload is not implemented properly. You need to clone
> "left" first and return it as a result.
>
> That’s probably the functionality you want but as an aside why can’t +
> overload mutate the caller (left side) and not return anything?
>

Because operator overloads are static methods not normal methods.

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to