Cycle.opIndex

Range primitives

  1. auto ref opIndex(size_t n)
  2. auto ref opIndex(size_t n)
    struct Cycle(R)
    ref const
    static if(isRandomAccessRange!R && hasLength!R)
    static if(__traits(compiles, (const R r) => r[0]) && __traits(compiles, (const R r) => r.length))
    opIndex
    (
    size_t n
    )
    if (
    isForwardRange!R &&
    !isInfinite!R
    )

Meta