On 2/27/13, deadalnix <[email protected]> wrote:
> That is fallacy.

void func(T...)(T args) { }

int foo() { return 1; }
float bar() { return 2.0; }

void main()
{
    func(foo, bar);  // ???
}

What will this do? If address-of on functions is banned then this must
pass functions by default, and not their return types. Which is a
complete change to what it does now.

So now you have to carefully inspect every function call because you
don't know whether you're passing a pointer to a function or you're
invoking the function and passing the return type.

How on earth does this simplify anything and justify code breakage?

Reply via email to