Is it possible to convert a delegate into a function?

Gary Willoughby dev at nomad.so
Thu Feb 6 13:26:04 PST 2014


I know you can convert functions into delegates using: 
http://dlang.org/phobos/std_functional.html#.toDelegate but can 
you do this the other way around?

I have a method that needs a function pointer but it would be 
nice to use a converted delegate pointer instead.


More information about the Digitalmars-d-learn mailing list