Feature request: array stuff

Lionello Lunesu lio at lunesu.remove.com
Sun May 4 08:22:29 PDT 2008


Janice Caron wrote:
> I would like to be able to allocate a dynamic array on the stack.
> The following compiles, but does not achieve the desired effect:
> 
>     int n = 100;
>     scope array = new int[n];

Maybe this could be made to work as well:

#int n = 100;
#int[n] array;

L.



More information about the Digitalmars-d mailing list