[fpc-devel] Generics
Marco van de Voort
marcov at stack.nl
Sun Apr 9 21:32:28 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 ;-)
First attempt at a string,object map would already fail. No thanks, too
limited.
More information about the fpc-devel
mailing list