[Submission] D Slices

eles eles at eles.com
Tue May 31 06:13:07 PDT 2011


int[] b = a[0..2];   // This is a 'slicing' operation.  b now refers to
the first two elements of a

is not the first *three* elements of a?


More information about the Digitalmars-d mailing list