Using alloca?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jun 27 22:27:53 PDT 2013


On 6/27/13 9:42 PM, Maxime Chevalier-Boisvert wrote:
> I'd like to stack-allocate an array that will be dynamically sized. Is
> alloca somewhere in the standard D library? If so, what should I import
> to have access to it?

Yah, import core.stdc.stdlib.

Andrei


More information about the Digitalmars-d mailing list