UFCS syntax I never saw before.

SrMordred patric.dexheimer at gmail.com
Mon May 21 12:15:30 UTC 2018


Right, so this should´n be working I think.

> struct SomeStruct
> {
>     void foo(int);
> }
>
> SomeStruct s;
> s.foo = 10;

I thought that only with @property this will work.



More information about the Digitalmars-d-learn mailing list