My understanding is that we want to pass functions to functions which takes delegates transparently, or is it something more involved here?

Anyway if that is everything, then why not add a template to the D runtime which casts the function to a delegate?

And if that wrapper function is only called by the compiler it does not even have to be a template. Templetation just provides type safety in this case.

Reply via email to