On Fri, 04 Nov 2005 01:06:42 +0100 [EMAIL PROTECTED] wrote: > Hi *, > Delphi 11 .Net 2.0 will support Generics. Maybe Delphi 11 Win32. > There is already proposal: > > http://qc.borland.com/wc/qcmain.aspx?d=11168 > > The FPC syntax must be at least a subset of the Borland syntax to be > compatible.
This page looks only like the start of a proposal. Neither complete nor official. Why do you think, that D2006 will have generics? Mattias > > > > Mattias Gaertner wrote: > > >Hi all, > > > >I want to push generics to the next level. > >For those not familar, there is already a wiki about this topic: > > > >http://www.freepascal.org/wiki/index.php/Generics > > > >The page still contains a couple of different proposals, so I guess, the > >syntax is not yet defined. > >And there are still some unsolved problems, before we can start > >implementing it. > >My goal is to extend Lazarus first, so we can play with the new features, > >before extending the compiler, which is much more complicated. > > > >The syntax: > >The wiki contains a few proposals, but does not mention the > >advantages/disadvantages. So, here are some thoughts. Please comment and > >tell, where you see problems or a better solution. > > > >- Templates should work at least for: classes, classes of, interfaces, > >objects, records, pointers, procedures/functions. > >- Templates may also work for: procedure types > >- Template parameters can be any type. > >- Template parameters may be specialised (e.g. only) > > > > > >Mattias > >_______________________________________________ > >fpc-devel maillist - fpc-devel@lists.freepascal.org > >http://lists.freepascal.org/mailman/listinfo/fpc-devel > > > > > > > > > > > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel