phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Take.front
std
range
Take
Range primitives
auto ref
front
[@property getter]
ElementType
!
R
front
[@property setter]
struct
Take
(Range)
@
property
static if
(
hasAssignableElements!R
)
void
front
(
ElementType
!
R
v
)
if
(
isInputRange
!(
Unqual
!
Range
) &&
!
(
(
!
isInfinite
!(
Unqual
!
Range
) &&
hasSlicing
!(
Unqual
!
Range
)
)
||
is
(
Range
T
==
Take
!
T
)
)
)
Meta
Source
See Implementation
std
range
Take
aliases
opDollar
functions
moveAt
moveBack
moveFront
opIndex
opIndexAssign
opSlice
popBack
popFront
properties
back
empty
front
length
maxLength
save
variables
source
Range primitives