[fpc-pascal] Generics vs TCollection
Graeme Geldenhuys
graemeg.lists at gmail.com
Tue Nov 8 12:31:04 CET 2011
On 8 November 2011 12:13, <michael.vancanneyt at ...> wrote:
>
> I have tons of code that uses them. Lazarus has tons of code that uses them.
> There is no way that we're going to rewrite all that stuff.
Sorry for any confusion. I did not post this with the intention of
removing TCollection/TCollectionItem classes from FPC. I'm simply
asking from a functionality point of view. Can Generics replace the
usage of TCollection/TCollectionItem in all cases? Purely from a
functionality point of view, it seems like it should be possible - but
I know nothing of Generics (never used them).
I know Lazarus IDE uses TCollection in many property editors. Could
Generics even replace those use cases too? I guess this might be
better asked in the Lazarus mailing list.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
More information about the fpc-pascal
mailing list