[typing] Type-erasure re generics

Justin Johansson no at spam.com
Wed Sep 29 08:14:38 PDT 2010


Sorry if I should ask to this on D.help.

Can someone please inform me if D does type-erasure on generic
types as does Java?

Here's one Java reference on the subject that I found.
http://download.oracle.com/javase/tutorial/java/generics/erasure.html

Also I would like to be informed as to the positives and negatives
aspects of type-erasure as might be appropriate in a D versus Java
context.

Thanks for answers,

-- Justin Johansson


More information about the Digitalmars-d mailing list