On 01/25/2013 10:44 PM, Zach the Mystic wrote:
Here are my two cents:

First, about optional parentheses:

Optional parentheses = ambiguity.
...

No, you can definitely have ambiguity without optional parentheses.
Unless that is supposed to be a destructive update. Is your statement ambiguous?


int foo() { return 4; }
auto x = foo; // gives 4 or gives function foo?

It seems to me any ambiguity should be an error. However… it only
matters when the type system can't provide the missing detail, as above.
...

That is not ambiguous.

Reply via email to