Why I love D: function parameter reification

Adam D Ruppe destructionator at gmail.com
Wed Jun 8 23:09:49 UTC 2022


On Wednesday, 8 June 2022 at 21:47:16 UTC, H. S. Teoh wrote:
> (Of course, in the actual code a mixin is still needed in order 
> to bind `myfunc` to the actual target function, which is 
> iterated over by name.)

You probably don't need that either.

But yeah getting udas off function parameters is a bit... fun, 
but it sure does allow a lot of cool things.


More information about the Digitalmars-d mailing list