phobos ~master (2024-10-15T22:24:56Z)
Dub
Repo
Cycle.opIndex
std
range
Cycle
Range primitives
auto ref
opIndex
(size_t n)
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)
)
auto ref
opIndex
(
size_t
n
)
if
(
isForwardRange
!
R
&&
!
isInfinite
!
R
)
Meta
Source
See Implementation
std
range
Cycle
constructors
this
functions
opIndex
opIndexAssign
opSlice
popFront
manifest constants
opDollar
properties
front
save
variables
empty
Range primitives