DynamicArray.opSlice

Slice support.

  1. inout(T)[] opSlice(size_t i, size_t j)
    struct DynamicArray(T, Allocator = GCAllocator, Capacity = size_t)
    pragma(inline, true) inout return scope
    @trusted => _store.ptr[i .. j]
    inout(T)[]
    opSlice
    ()
    (
    in size_t i
    ,
    in size_t j
    )
    if (
    !is(immutable T == immutable bool) &&
    (
    is(Capacity == ulong) ||
    is(Capacity == uint)
    )
    &&
    isAllocator!Allocator
    )
  2. inout(T)[] opSlice()
  3. enum _growthP;
  4. enum _growthQ;

Meta