Actually, although on first glance different, anonymous methods are done as reference counted objects in Delphi, (well technically trough interfaces.), so since the anonymous method storage by definition has to be kept alive trough reference counting or similar approach, the topic is not that detached from this one. PS: Why they call them anonymous methods when they are actually anonymous interfaced objects is something I always wondered about :-D . I guess mainly because of the syntax, not the content. i.e. name it based on the cover not the book :-D .
With best regards, Boian Mitov ------------------------------------------------------- Mitov Software www.mitov.com ------------------------------------------------------- From: Sven Barth Sent: Monday, September 22, 2014 2:25 PM To: FPC developers' list Subject: Re: [fpc-devel] Suggestion: reference counted objects Am 22.09.2014 22:23 schrieb "hinstance" <[email protected]>: > > I suggest doing one thing at a time. ARC class first, complex delegates > capturing local context later Considering that those are two different features that don't have anything to do with each other their development doesn't need to be serialized, but can happen in parallel ;) Regards, Sven -------------------------------------------------------------------------------- _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
