[fpc-devel] Generics

rstar at mnet-online.de rstar at mnet-online.de
Sun Apr 9 20:50:09 CEST 2006


Flávio Etrusco wrote:
> On 4/9/06, Florian Klaempfl <florian at freepascal.org> wrote:
>   
>> rstar at mnet-online.de wrote:
>> (...)
>> Is there already a specification how they will look like in Delphi?
>>
>>     
>>> (.net2)? What's planned? Can somebody explain?
>>>
>>>       
>> They are more like C++ templates.
>>     
>
> 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
>
> -Flávio
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>   
Generics are "type safe".




More information about the fpc-devel mailing list