UFCS and constructors

John Colvin john.loughran.colvin at gmail.com
Wed Jul 3 07:53:56 PDT 2013


On Wednesday, 3 July 2013 at 03:22:16 UTC, Jonathan M Davis wrote:
> That is _very_ broken IMHO. It makes no sense for parens to be 
> optional with
> opCall. The whole point of opCall is to overload the parens!

So much about optional parenthesis is broken. I really wish 
things weren't going that way, it obfusticates the difference 
between a callable and the result in a really nasty way, and it 
doesn't work for function pointers (nor does UFCS unfortunately).


More information about the Digitalmars-d mailing list