OpIndex/OpIndexAssign strange order of execution

SrMordred patric.dexheimer at gmail.com
Mon Sep 18 16:43:05 UTC 2017


>
> void main() {
>     auto s = S();
>     s["b", "c"] = s["a"];
> }
>
> Prints
>
> a
> ["b", "c"]
>
> Ali

I thought about this too, thanks!


More information about the Digitalmars-d-learn mailing list