Using alloca?

Marco Leise Marco.Leise at gmx.de
Fri Jun 28 00:14:55 PDT 2013


Am Fri, 28 Jun 2013 06:42:31 +0200
schrieb "Maxime Chevalier-Boisvert"
<maximechevalierb at gmail.com>:

> 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?

As a side note, in Mono-D you can just type alloca, then press
Ctrl+Alt+Space and the correct import magically appears at the
top of the source file.

-- 
Marco



More information about the Digitalmars-d mailing list