On 18.11.2012 16:46, Namespace wrote:Ok, understood. I hoped that I could create a better interface.I think a good interface would be a generic array class/struct that can be parameterized to use a stack allocator.
The best would be if my code would work. I wish some syntax like: int len = 42; int[len] arr = stackalloc!(int)(len);
