UFCS for struct opCall?
Timothee Cour
thelastmammoth at gmail.com
Tue Apr 9 02:28:48 PDT 2013
For sake of uniformity, UFCS should apply everywhere as a general
re-write rule, not just on functions.
a.b(args...) should first check for non-UFCS definition, then for b(a,args...):
condition.assert;
string.mixin
expression.typeof
it makes chaining easier, intermediate variables un-necessary, and
maybe even implementation easier since the rule would be general.
More information about the Digitalmars-d
mailing list