[typing] Type-erasure re generics

Justin Johansson no at spam.com
Wed Sep 29 09:30:43 PDT 2010


On 30/09/2010 2:18 AM, Jonathan M Davis wrote:
> On Wednesday 29 September 2010 08:14:38 Justin Johansson wrote:
>> Can someone please inform me if D does type-erasure on generic
>> types as does Java?
>>
>
> Wow. Goodness no. Generics and templates are _completely_ different.
>
> Java is the only language that I'm aware of that does type erasure, and the only

Thanks Jonathan et. al. for many well-thought responses and
perhaps material for TDPL Edition 2. Andrei will be sure
to buy you guys, and other respondents, a beer for each new
page written.  :-)


More information about the Digitalmars-d mailing list