Stack allocated arrays

bearophile bearophileHUGS at lycos.com
Sun Nov 18 07:21:49 PST 2012


Tobias Pankrath:

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

That's probably right, you can't use alloca that way (It seems my 
answer yesterday got lost).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list