Hi,
In C++ you can create a fixed array on stack:
int count = getCount();
int myarray[count];

In D the "count" is part of type and must be known at CT but in example it is RT.
How to do such thing in D? Without using of heap.

Reply via email to