D Language Foundation October 2023 Quarterly Meeting Summary
Bastiaan Veelo
Bastiaan at Veelo.net
Mon Dec 11 07:53:39 UTC 2023
On Sunday, 10 December 2023 at 18:16:05 UTC, Nick Treleaven wrote:
> You can call `alloca` as a default argument to a function. The
> memory will be allocated on the caller's stack before calling
> the function:
> https://github.com/ntrel/stuff/blob/master/util.d#L113C1-L131C2
>
> I've just tested and it seems it works as a constructor default
> argument too.
Clever!
More information about the Digitalmars-d-announce
mailing list