Array.opSlice

Slice operator must be const when ordered.

  1. auto opSlice [@property getter]
  2. auto opSlice(size_t i, size_t j)
    struct Array(E, Ordering ordering = Ordering.unsorted, bool useGC = shouldAddGCRange!E, alias less = "a < b")
    @property pragma(inline, true) const nothrow @nogc
    @"complexity", "O(1)"
    static if(IsOrdered!ordering)
    opSlice
    (
    this This
    )
    (
    size_t i
    ,
    size_t j
    )
  3. auto opSlice [@property getter]
  4. auto opSlice(size_t i, size_t j)

Meta