Static array as immutable
Ivan Trombley
itrombley at dot-borg.org
Tue Dec 12 07:33:47 UTC 2017
Is there some way that I can make this array immutable?
static float[256] ga = void;
static foreach (i; 0 .. 256)
ga[i] = (i / 255.0f) ^^ (1 / 2.2f);
More information about the Digitalmars-d-learn
mailing list