[fpc-pascal] How to use generics and meta class?

Joao Morais l at joaomorais.com.br
Thu Feb 27 12:12:34 CET 2014


Em 25/02/14 05:14, Sven Barth escreveu:
> A generic is by definition not a fully existant type.

Plans to include generics as a real type for class attributes? Something 
like the Java world:

generic TMyGeneric<T: TMyType>  <<-- this is the real type
specialize TMyGeneric<TSomeDescendantType>  <<-- only for type safety, 
discarded after compiling





More information about the fpc-pascal mailing list