Why does D not have generics?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Tue Jan 12 23:31:41 UTC 2021
On Tuesday, 12 January 2021 at 23:27:22 UTC, Ola Fosheim Grøstad
wrote:
> That's a bit pedantic. And it can never work because of static
> foreach.
Well, I guess it could work, but it would be very challenging
when you combine static foreach, static if, string mixins and
recursive templates.
At some point you end up with an automatic theorem prover.
More information about the Digitalmars-d
mailing list