How to initialize an immutable array

Sparsh Mittal sparsh0mittal at gmail.com
Fri Mar 1 13:02:32 PST 2013


>     foreach (immutable i; 0 .. DIM + 1) {

Thanks. However, rdmd gives error on this line:

temp1.d(12): Error: no identifier for declarator immutable(i)



More information about the Digitalmars-d-learn mailing list