UFCS for struct opCall?

Timon Gehr timon.gehr at gmx.ch
Tue Apr 9 02:13:06 PDT 2013


On 04/09/2013 05:49 AM, kenji hara wrote:
> UFCS should just work only for 'functions'.

Why? This is a superfluous complication that does not buy anything.

> 'foo' is not a function, rather it is a functor. So this is proper behavior.
> ...

There is no spec, therefore calling any behaviour proper without 
supporting arguments is meaningless.


More information about the Digitalmars-d mailing list