The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Cycle.front
std
range
Cycle
Range primitives
auto ref
front
[@property getter]
auto ref
front
[@property getter]
struct
Cycle
(R)
@
property
ref const
static if
(
isRandomAccessRange!R && hasLength!R
)
static if
(
is(typeof((cast(const R)_original)[_index]))
)
auto ref
front
(
)
if
(
isForwardRange
!
R
&&
!
isInfinite
!
R
)
ElementType
!
R
front
[@property setter]
auto ref
front
[@property getter]
auto ref
front
[@property getter]
ElementType
!
R
front
[@property setter]
Meta
Source
See Implementation
std
range
Cycle
constructors
this
functions
opIndex
opIndexAssign
opSlice
popFront
manifest constants
opDollar
properties
front
save
variables
empty
Range primitives