Can I do this: ``` struct Foo { int a; } auto rcs = RefCountedSlice!Foo(); // assume rcs.length > 0
scope Foo zero = rcs[0]; zero.a = 1337; assert(rcs[0].a == 1337); ``` with the DIP. I could find it.
Robert burner Schadek via Digitalmars-d Thu, 11 Aug 2016 04:51:07 -0700
Can I do this: ``` struct Foo { int a; } auto rcs = RefCountedSlice!Foo(); // assume rcs.length > 0
scope Foo zero = rcs[0]; zero.a = 1337; assert(rcs[0].a == 1337); ``` with the DIP. I could find it.