On Wednesday, 24 August 2016 at 09:38:43 UTC, Walter Bright wrote:
I don't know why pointers cannot be used.

In my code I have a line like this:

static immutable MyStruct[] data = [ MyTemplate!MyArgs ];

This would not work if `MyStruct.sizeof * MyTemplate!MyArgs.length` is bigger than 16MB, right? And for this case there's no workaround, I think...

I will not reach that size, but I agree with the others that this should be a linker limitation, not a language one, so that I can change linker and have it work.

Reply via email to