On May 2, 2010 4:24:37 PM, Jonas Maebe wrote:

> The reference counting logic is considered to be an opaque implementation 
> detail (whose implementation can change at any time). It is undocumented by 
> design.

In fact, it was already documented in detail in FPC Language Reference Guide: 
3.2.4 Ansistrings; 3.3.1 Arrays: Dynamic Array; 7.6 Reference counting.

Moreover, I've seen many Delphi code snippets out there (e.g. 
http://www.cs.wisc.edu/~rkennedy/array-delete) rely on reference counting 
behaviour.



      

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

Reply via email to