Is DMD 0.166 RC 1.0?
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Tue Sep 5 08:01:05 PDT 2006
xs0 wrote:
> Now, consider the remarkable similarity between that case and "auto foo
> = new int[3][4][5]" versus
>
> int[][][] foo;
> foo.length = 3;
> for (int a=0; a<3; a++) {
> foo[a].length = 4;
> for (int b=0; b<4; b++)
> foo[a][b].length = 5;
> }
>
>
> xs0
That's a really bad comparison/argument, I believe you can template that
code such that something like this can be used:
auto foo = newAr!(int[3][4][5])();
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d-announce
mailing list