On Friday, 21 July 2017 at 12:27:35 UTC, Olivier FAURE wrote:
private __gshared const(char)*[24] pseudotab = Y.map!(x => x.id);
I meantprivate __gshared static immutable string[Y.length] pseudotab = Y.map!(x => x.id);
but you get my point.Also, upon trying it, it doesn't seem to work (at least the immutable part doesn't), but I don't really understand why. All the variables in the expression are known at compile time.