convert static arrays to dynamic arrays and return, have wrong data.

novice2 via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 9 04:23:57 PST 2014


BTW, adding .dup resolve error:

int[] test11()
{
   return test1().dup;
}

int[] test22()
{
   return test2().dup;
}


More information about the Digitalmars-d mailing list