Steven Schveighoffer:

scoped int[] a=new int[whatever_big_size];
...
I would not use this, I think it's scheduled for deprecation, or at least the meaning is scheduled to change.

As D introduces some limited static management of memory ownership, the semantics of scoped arrays could be fixed.

Bye,
bearophile

Reply via email to