[fpc-pascal] For ..in GetEnumerator Allocation
Ryan Joseph
ryan at thealchemistguild.com
Wed Oct 4 16:53:13 CEST 2017
> On Oct 4, 2017, at 4:26 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> You can do so by overriding the newinstance and it's sister method of
> your enumerator class.
Can you explain how this works or give an example? Not sure how these gets around the problem of alloc/dealloc for each iterator.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list