DynamicArray.opSlice

Slice support.

  1. inout(T)[] opSlice(size_t i, size_t j)
  2. inout(T)[] opSlice()
    struct DynamicArray(T, Allocator = Mallocator, Capacity = size_t)
    pragma(inline, true) inout return scope
    @trusted => _store.ptr[0 .. _store.length]
    inout(T)[]
    opSlice
    ()
    ()
    if (
    !is(immutable T == immutable bool) &&
    (
    is(Capacity == ulong) ||
    is(Capacity == uint)
    )
    &&
    isAllocator!Allocator
    )

Meta