D 2.0 - dalegates to function

Stewart Gordon smjg_1998 at yahoo.com
Thu Mar 1 14:22:06 PST 2007


Lionello Lunesu Wrote:

<snip>
> There should be no reason for any thunking.  The calling 
> convention should be made compatible: the context-pointer of a 
> delegate should be put in a register that's simply ignored by 
> functions (without context).
> 
> Or am I missing something?

I think you're thinking of being able to convert functions to delegates, not vice versa which is what this thread is about.

Stewart.



More information about the Digitalmars-d mailing list