[fpc-devel] Proof of Concept ARC implementation

Michael Schnell mschnell at lumino.de
Wed Oct 29 16:10:10 CET 2014


On 10/29/2014 03:56 PM, hinstance at yandex.ru wrote:
> Whatever; I disagree
> refcounted descendants of non-refcounted objects should be assignable to any variable of parent type; just like any variable is assignable to a variable of parent type
>
And what about TLIst ? If TList is done for not ref-counted objects you 
loose the ref counting when storing and retrieving them or you simply 
don't know whet you get out. If TList is done for ref-counted objects, 
you need an appropriate conversion when storing, as you might pull them 
to a ref-counted variable..

-Michael



More information about the fpc-devel mailing list