Array.opSlice

  1. Range opSlice()
  2. Range opSlice(size_t a, size_t b)
    struct Array(T)
    opSlice
    (
    size_t a
    ,
    size_t b
    )
    if (
    is(immutable T == immutable bool)
    )

Return Value

Type: Range

A range that iterates the array between two specified positions.

Complexity: O(1)

Meta