On 02/17/2014 09:10 PM, Florian Klämpfl wrote:
Am 16.02.2014 17:16, schrieb Michael Van Canneyt:
2) SetLength enforces unique ref. count.
I'am against stating this in the docs. It is an implementation detail.
Moreover this would ask for a long winding explanation what "unique ref count" exactly means for the user.
The proper way to do a deep copy is using copy.
Again an in depth explanation of "deep copy" is necessary in that docs.

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

Reply via email to