在这个问题上提供帮助的人是很好的:class A void fcn1(double *p, double *hx, int m, int n, void *adata);}A::fcn2() void (*pfcn1)(double*, double*, int, int, void*) = fcn1;我收到了一个错误:
错误C3867:'
我收到以下错误: Argument #1' cannot convertSystem.Delegate‘expression to type `PowellMethod.fcn_delegate’ public delegate void fcn_delegate(int n, double[] x, double[] f, int iflag);
static voidDelegate.CreateDelegate(typeof(Func<int, double[], double[], int>),