----- Original Message ----- > From: Michael Van Canneyt <[email protected]> > To: FPC developers' list <[email protected]> > Cc: > Sent: Tuesday, November 27, 2012 1:19 PM > Subject: Re: [fpc-devel] Considerations about observer [was: Free Pascal > 2.6.2 rc1] > > > > On Tue, 27 Nov 2012, luiz americo pereira camara wrote: > >> 2012/11/13 Marco van de Voort <[email protected]>: >>> >>> Hello, >>> >>> We have placed the first release-candidate of the Free Pascal Compiler >>> version 2.6.2 on our ftp-servers. >> >> [..] >> >> >>> * Support for observer pattern added to fcl-base (and base classes in > RTL) >> >> Hi, i requested a change to observer interface with some >> considerations in http://bugs.freepascal.org/view.php?id=23394 > > It will not happen. > > If you want to pass around interfaces safely, then you need to implement them > as > descendents of IUnknown to maintain reference counts. They are implemented as > CORBA > interfaces exactly to avoid the overhead of IUnknown. > > The consequence is that you must pass around the objects themselves. > > Michael.
Hi, does anyone know of a link to the wiki with info about the newly implemented Observer pattern?. -- Leonardo M. Ramé http://leonardorame.blogspot.com _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
