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

aberba karabutaworld at gmail.com
Fri Aug 7 21:03:47 UTC 2020


Syntactically they look the same (although D's can do more 
things) so I'm trying to understand how why in D it's called 
template but in languages like C#/Java they're generics.


I guess I have fair understanding of D's code generation but 
isn't it same as what what is available in those languages too? 
How are the implementation different?


More information about the Digitalmars-d-learn mailing list