UFCS - why only allow the first parameter?

dennis luehring dl.soluz at gmx.net
Fri Feb 22 23:26:57 PST 2013


func(a,b,c)

can be written as a.func(b,c)

is there a good reason

for not allwing

(a,b).func(c)

or even

(a,b,c).func()?

for me it feels natural


More information about the Digitalmars-d mailing list