How does D's templated functions implementation differ from generics in C#/Java?

jmh530 john.michael.hall at gmail.com
Sat Aug 8 01:47:27 UTC 2020


On Friday, 7 August 2020 at 21:39:44 UTC, H. S. Teoh wrote:
> [snip]

"Furthermore, it can dispatch to a type-erased implementation ala 
Java -- at your choice;"

This is interesting. Would you just cast to Object?


More information about the Digitalmars-d-learn mailing list