why no implicit convertion?
just at ask.me
Wed Nov 17 13:53:12 PST 2010
Dnia 17-11-2010 o 22:38:50 Jonathan M Davis <jmdavisProg at gmx.com>
> There is no way (as far as I know) to
> convert that to a dynamic array of dynamic arrays. As such, the compiler
> do it implicitly or explicitly. You can probably create a dynamic array
> dynamic arrays and assign each of the internal arrays to to each of the
> arrays of b, but there's no direct way to do it.
For rectangular arrays you can create a static array of dynamic arrays and
get away with no heap alloc (see my other post).
More information about the Digitalmars-d-learn