On 2016-07-18 20:49, Rufus Smith wrote:
Suppose I have the following: alias func = void function(int);

Is there a way to convert it automatically to something the same type
except of delegate: alias del = toDel(func) = void delegate(int);?

https://dlang.org/phobos/std_functional.html#toDelegate

--
/Jacob Carlborg

Reply via email to