Jonathan M Davis:

It sounds to me like you want std.container.Array with a custom allocator
which uses the stack.

My most presents two related requests. I don't think std.container.Array can implement the second one, that requires a change in the D language.

Regarding the first suggestion, is std.container.Array able to give me a run-time assert error when I go past the memory allocated on the stack?

Bye,
bearophile

Reply via email to