[fpc-devel] Generics basic library

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Jan 17 20:40:14 CET 2008


I was coding and I suddently saw that need to use a typed list. I went
with TFPList, but considering we already have compiler support I
thougth that maybe we could have a basic library with useful classes
using generics. I searched on fpc 2.2.0 sources a lot, but I couldn't
find anything.

I was thinking on the lines of: TGenericList<T> = class

Does something similar already exist?

If not, maybe I can find some time to write something to start with.
Any ideas about unit name, location on fpc sources, if it's useful at
all, what it should contain, etc, for that?

Felipe Monteiro de Carvalho

More information about the fpc-devel mailing list