"Mehrdad" <[email protected]> wrote in message news:[email protected]... > It would be nice if there was a way to convert delegates to > functions/thunks, because certain annoying tasks (e.g. 'WndProc's in > Windows) would become a heck of a lot easier. > > Is there any way to already do this? If not, how about adding a > toFunction() method in std.functional? >
Well, there's this: http://pastebin.com/XwEb2cpm But it's pre-3797, and probably doesn't work anywhere except win32.
