simple ABI change to enable implicit conversion of functions to delegates?

Jerry via Digitalmars-d digitalmars-d at puremagic.com
Tue May 16 05:57:30 PDT 2017


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.


More information about the Digitalmars-d mailing list