Am 09.01.2021 um 22:54 schrieb Bart via fpc-pascal:
On Sat, Jan 9, 2021 at 8:14 PM Yuriy Sydorov via fpc-pascal
wrote:
So, I'll use a for loop to copy the data.
I assume that doing Arr[Index] := Default(T) will also finalize the
element if that element ismanaged?
For class object instances c
Am 09.01.2021 um 18:23 schrieb Bart via fpc-pascal:
On Sat, Jan 9, 2021 at 5:12 PM Yuriy Sydorov via fpc-pascal
wrote:
2. Is it OK if the elements of the array are (or contain) managed types?
You need to manually finalize/free elements which are overwritten before
calling Move.
So, if I mov