Array literals MUST be immutable.

Walter Bright newshound1 at digitalmars.com
Wed Feb 17 13:31:29 PST 2010


Michel Fortin wrote:
> Could cases like this, where the array never escape, be allocated on the 
> stack?

Yes, the compiler can do that.



More information about the Digitalmars-d mailing list