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]
ElementType
!
R
front
[@property setter]
auto ref
front
[@property getter]
auto ref
front
[@property getter]
ElementType
!
R
front
[@property setter]
struct
Cycle
(R)
@
property
static if
(!(
isRandomAccessRange!R && hasLength!R
))
static if
(
hasAssignableElements!R
)
auto
front
(
ElementType
!
R
val
)
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