On 2/24/15 8:34 AM, bearophile wrote:
Andrei Alexandrescu:

using stack-allocated arrays in safe code is a rather niche use).

I use stack-allocated arrays in supposedly safe code. And having a
future D compiler that makes that kind of code actually safe is a good
thing.

It definitely is a good thing. The question is balancing its goodness against the costs of allowing it. It's not impossible you may get asked to change your code to use a struct instead of a fixed-sized array.

Andrei


Reply via email to