[fpc-devel] Suggestion: reference counted objects
August Oktobar
augustoktobar at gmail.com
Sat Sep 20 19:48:31 CEST 2014
What about adding support for destructors to (advanced) records (and/or
inhertiance)?
On Sat, Sep 20, 2014 at 6:36 AM, FabrÃcio Srdic <fabricio.srdic at gmail.com>
wrote:
> Hello,
>
> In platforms with managed code (.NET, Java), objects are automatically
> freed by the memory manager / garbage collector.
>
> Would not it be interesting to have a similar feature in FPC?
>
> For example, through a root class where its objects are counted by
> reference, like the TInterfacedObjects. Thus, the programmer would be free from
> having to manually release objects.
>
> Best regards
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140920/b65509d1/attachment.html>
More information about the fpc-devel
mailing list