[fpc-devel] Suggestion: reference counted objects

Sven Barth pascaldragon at googlemail.com
Thu Sep 25 17:11:00 CEST 2014

Am 25.09.2014 12:08 schrieb "Michael Schnell" <mschnell at lumino.de>:
> On 09/25/2014 11:52 AM, Sven Barth wrote:
>> TARCObject would just be provided for convenience reasons. The real
magic is a keyword that can be used for any class to enable ARC for that
class and all it's descendant.
> I see. Hence, technically, there would be a kind of "attribute syntax",
but it's only necessary to afflict it to the type TARCObject, that already
is defined in the RTL. Hence the user does not see it.

Of course the user can see it. Namely to introduce refcounting to classes
where he/she can't influence the parent class (simple example: a TStrings

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140925/e0bcdc78/attachment.html>

More information about the fpc-devel mailing list