[Lazarus] Generics type as parameter

Michalis Kamburelis michalis.kambi at gmail.com
Sat May 12 14:32:38 CEST 2012


Leonardo M. Ramé wrote:
> Without generics, I can use, for example, a TObjectList, or a
> TCollection, without any problem. Is there a way to do this using
> Generics?.

All generics in FGL unit descend from non-generic TFPSList class. It can 
be used if you need to treat them in a uniform manner.

Michalis




More information about the Lazarus mailing list