[fpc-pascal] Dynamic arrays using management operators

Michael Van Canneyt michael at freepascal.org
Mon Jun 4 12:46:37 CEST 2018



On Mon, 4 Jun 2018, Ryan Joseph wrote:

>
>
>> On Jun 4, 2018, at 4:39 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>> 
>> I fail to see why you need management operators for this.
>
> just because I wanted the array implementation available and to get automatic cleanup. I don’t know all the stuff dynamic arrays do behind the scenes and that worries me (see below).

Well, as far as I can see, you are repeating what the compiler already does for you out of the box.

Michael.


More information about the fpc-pascal mailing list