int[10] a = [0,1,2,3,4,5,6,7,8,9]; //a static array, on the stackI see. Thanks for the examples. What about strings? Do they depend on GC?auto s = a[]; //a normal slice, backed by stack memory* auto s1 = a[3 .. 5]; //ditto
They are just slices / arrays.
