Static arrays inside struct and class - bug?
NX via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 1 12:16:16 PDT 2015
On Saturday, 1 August 2015 at 18:47:00 UTC, Daniel Kozak wrote:
> Still same problem, You can`t allocate more then 16M on stack.
> Use dynamic allocation
I don't think "new MyStruct" allocates on stack, actually
allocating ~16MB on stack will immediatelly crash the program
which is not the case with NewExpression.
More information about the Digitalmars-d-learn
mailing list