How does D's templated functions implementation differ from generics in C#/Java?
12345swordy
alexanderheistermann at gmail.com
Sat Aug 8 19:27:43 UTC 2020
On Friday, 7 August 2020 at 21:03:47 UTC, aberba wrote:
> 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?
I think this is relevent:
https://github.com/dotnet/csharplang/issues/110
More information about the Digitalmars-d-learn
mailing list