DIP 1025--Dynamic Arrays Only Shrink, Never Grow--Community Review Round 1

Basile B. b2.temp at gmx.com
Mon Nov 11 23:29:30 UTC 2019

On Monday, 11 November 2019 at 21:59:36 UTC, Paolo Invernizzi 
> On Monday, 11 November 2019 at 21:49:52 UTC, Basile B. wrote:
>> 2. When not possible anymore, e.g function parameter, a @slice 
>> attribute could be used to apply the same restriction as in 1.
> O God, please no! Pretty frankly, writing D cose is starting to 
> became a masterclass of attribute handling: with move semantic, 
> rvalue, live, and now that, I've practically lost the count!

TBH me too. @safe could be used instead but then much more 
breakage to expect.

More information about the Digitalmars-d mailing list