digitalmars.D - Stack-allocated fixed-runtime-length arrays
- bearophile (10/10) Aug 27 2013 I'd like some kind of run-time...
I'd like some kind of run-time-sized stack-allocated array in D, similar to C++14: http://blog.smartbear.com/development/a-glimpse-into-c14/ Currently in the D bugzilla I have suggested something like dynarray, that is partially library-defined and partially supported by the compiler. But unlike the C++14 dynarray, the D version must guarantee a stack allocation (or generate some kind of run-time or compile-time error). Bye, bearophile
Aug 27 2013