[fpc-pascal] Feature announcement: Dynamic array extensions
Florian Klämpfl
florian at freepascal.org
Sun Jun 3 14:59:46 CEST 2018
Am 03.06.2018 um 14:27 schrieb Mattias Gaertner:
> 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.
There is still concat which provides exactly the same functionality.
More information about the fpc-pascal
mailing list