On 26/04/12 19:25, Jonathan M Davis wrote:
There is an _enormous_ difference between disallowing default arguments in
general and disallowing them in function pointers and delegates.

I think maybe I've misunderstood the problem. Are we talking about default values _of the function pointer_ or that get passed to the function pointer?

i.e. are we talking about,

    int foo(int delegate() dg = &bar) {
        ...
    }

or about

    int foo(int delegate() dg = &bar) {
        bar();  // assumes default arguments for bar
    }

...?

Reply via email to