[fpc-devel] Suggestion: reference counted objects
pascaldragon at googlemail.com
Mon Sep 22 11:15:17 CEST 2014
Am 22.09.2014 09:47 schrieb "Michael Schnell" <mschnell at lumino.de>:
> AFAIR there already were several debates on ARC Objects that seem do be a
"modern" language feature but in Pascal language they are considered to
provide lots of pitfalls.
> Why not use "interface" to add ref-counting to an object ? This seems to
work nicely even though the name "interface" in not "speaking" on that
Because you'll need to declare an interface for each class you want to have
reference counted so that you can access its methods, properties, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel