[fpc-pascal] Feature announcement: Dynamic array extensions

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jun 3 14:27:46 CEST 2018


On Sun, 3 Jun 2018 11:34:33 +0000
Mark Morgan Lloyd <markMLl.fpc-pascal at telemetry.co.uk> wrote:

> On 02/06/18 13:00, Mattias Gaertner wrote:
> >> Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> hat am 2. Juni 2018 um 09:42 geschrieben: > > denisgolovan < denisgolovan at yandex.ru> schrieb am Sa., 2. Juni 2018, 09:18: > > @Sven > >  Please reconsider "+" operator for arrays if your changes really forbid to overload operators for arrays now.> >  > It wasn't me who implemented that part. I personally had planned to do it with a warning for existing overloads, but Florian beat me to it and implemented it this way. Though when asked by me he did say that we'll wait and see if people complain... So *maybe* we'll change this.  
> 
> > +1 for the possibility to overload this operator.  
> 
> It would be reasonable to assume that the predefined + might be 
> substantially more efficient than a programmer-defined one could be.

Yes, that's one of the reasons I vote for keeping the new feature
and allow to overload the operator.

Mattias



More information about the fpc-pascal mailing list