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);?
Rufus Smith via Digitalmars-d-learn Mon, 18 Jul 2016 11:57:45 -0700
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);?