[fpc-devel] Generics

Flávio Etrusco flavio.etrusco at gmail.com
Sun Apr 9 21:24:18 CEST 2006


On 4/9/06, Marco van de Voort <marcov at stack.nl> wrote:
> > What? Do you mean that FPC implementation of generics wouldn't be
> > based on "type erasure" but on beefed-up-precompiler-macros? Please
> > say I got it all wrong :-o
>
> Do you have documents about "type erasure" in native languages where e.g. a
> string is not an object ?

You have a point. But I don't think supporting generics for native
types is a must-have. The syntatic sugar for having typesafe
containers and algorithms for _objects_ is all I wanted ;-)

Cheers,
Flávio



More information about the fpc-devel mailing list