CircularBlocks.opSlice

A range providing access to the specified elements.

Although this range provides the RandomAccessRange interface, accessing the elements with opIndex is less efficient than accessing the elements with the InputRange interface.

  1. auto opSlice(size_t from, size_t to)
    struct CircularBlocks(T)
    const
    opSlice
    (
    in size_t from
    ,
    in size_t to
    )
  2. auto opSlice()

Parameters

from size_t

the index of the first element of the range

to size_t

the index of the element one beyond the last element of the range

Meta