Am 19.10.2011 09:59, schrieb Marco van de Voort:
In our previous episode, Sven Barth said:
This implementation will result in crashes if T is a reference-counted type.

Right... I tend to forget about these... what would the correct way to
copy an array of ref counted types? E.g. an "array of string"?

copy () ? :-)

I thought about "copy", too, but how would you implement a generic "concat" using "copy" (or even just an "array of String" one)?

Regards,
Sven

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to