Apparently your compiler does not support parameter type deduction yet.

void main ()
{
writeln("add: ", someprocedure(2, 3, (int a, int b) { return a + b; })); writeln("multiply: ", someprocedure(2, 3, (int a, int b) { return a * b; }));
}


Yes, now it works!

Thanks,

Reply via email to