Community

Is it possible to get the signature of a function and make a delegate
type from it?
Something like this:
bool fun(int i) {}
alias (signature of fun) DelegateType;
DelegateType _delegate = delegate(int i) { return i == 0; };