[fpc-devel] Suggestion: reference counted objects

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Sep 22 22:30:12 CEST 2014


On 22/09/14 22:17, hinstance wrote:
> I am not even sure if weak reference feature is necessary. We don't have
> weak references for COM interfaces, and it still works so far.

That's because you can't have circular references between interfaces,
since interfaces don't have fields. Similarly, you can't have circular
references between dynamic arrays and ansi/unicodestrings.


Jonas



More information about the fpc-devel mailing list