On Wednesday, 15 June 2016 at 14:14:23 UTC, Seb wrote:
``` T[] a = slice.ptr[0.. slice.elementsCount]; ```
This would work only for slices with continuous memory representation and positive strides. -- Ilya
Ilya Yaroshenko via Digitalmars-d-learn Wed, 15 Jun 2016 11:47:46 -0700
On Wednesday, 15 June 2016 at 14:14:23 UTC, Seb wrote:
``` T[] a = slice.ptr[0.. slice.elementsCount]; ```
This would work only for slices with continuous memory representation and positive strides. -- Ilya