I don't like slices in D

David Nadlinger code at klickverbot.at
Thu Oct 17 12:56:29 PDT 2013


On Thursday, 17 October 2013 at 18:00:20 UTC, Vitali wrote:
>     int[] dArr = [10, 11, 12];
>     int[] dSlice = dArr[0..2];

Oh, and there is no difference between dynamic arrays and slices 
of them in D (as shown by the fact that the type is the same).

David


More information about the Digitalmars-d mailing list