[fpc-pascal] Feature announcement: Dynamic array extensions
Sven Barth
pascaldragon at googlemail.com
Sun Jun 3 10:15:11 CEST 2018
Ryan Joseph <ryan at thealchemistguild.com> schrieb am So., 3. Juni 2018,
05:35:
>
>
> > On Jun 2, 2018, at 3:19 PM, denisgolovan <denisgolovan at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180603/72597930/attachment.html>
More information about the fpc-pascal
mailing list