Stack allocated arrays

Tobias Pankrath tobias at pankrath.net
Sun Nov 18 06:58:02 PST 2012


On Sunday, 18 November 2012 at 01:55:48 UTC, Namespace wrote:
> Code: http://dpaste.dzfl.pl/6ae9f91a
> Can someone explain me these results (switch the version 
> statement from 'none' to 'all' in 'reserve')?
> Is it possible that I blown the stack frame? If so: why and can 
> my code/idea work?

Maybe the array is allocated in the frame of the constructor 
which is lost afterwards.


More information about the Digitalmars-d-learn mailing list