Convert delegate or function type to other.
Rufus Smith via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 18 11:49:22 PDT 2016
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);?
More information about the Digitalmars-d-learn
mailing list