Am 22.09.2014 09:47 schrieb "Michael Schnell" <mschn...@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
behalf.

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.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to