On Saturday, 21 April 2018 at 07:37:50 UTC, Mike Franklin wrote:
Does D have some way to dynamically allocate on the stack? I'm looking for something roughly equivalent to the following C code.

int doSomething(size_t len)
{
    char stackBuffer[len + 1];
    doSomethingElse(stackBuffer);
}

https://issues.dlang.org/show_bug.cgi?id=18788


Reply via email to