IndexMixin.opSlice

Fetch a range that spans all the elements in the container from index a (inclusive) to index b (exclusive). Preconditions: a <= b && b <= length

Complexity: O(1)

  1. RARange opSlice()
  2. ConstRARange opSlice()
  3. RARange opSlice(size_t a, size_t b)
    mixintemplate IndexMixin(size_t N, ThisContainer)
    opSlice
    (
    size_t a
    ,
    size_t b
    )
  4. ConstRARange opSlice(size_t a, size_t b)

Meta