[fpc-pascal] Is this a reference counting bug?
Bihar Anwar
bihar_anwar at rocketmail.com
Sun May 2 13:46:37 CEST 2010
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.
More information about the fpc-pascal
mailing list