The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Take.front
std
range
Take
Range primitives
auto ref
front
[@property getter]
struct
Take
(Range)
@
property
ref
auto ref
front
(
)
if
(
isInputRange
!(
Unqual
!
Range
) &&
!
(
(
!
isInfinite
!(
Unqual
!
Range
) &&
hasSlicing
!(
Unqual
!
Range
)
)
||
is
(
Range
T
==
Take
!
T
)
)
)
void
front
(ElementType!R v)
bool
empty
[@property getter]
void
popFront
()
Take
save
()
auto
moveFront
()
size_t
length
[@property getter]
alias
opDollar
=
length
auto
opSlice
(size_t i, size_t j)
size_t
length
[@property getter]
Meta
Source
See Implementation
std
range
Take
aliases
opDollar
functions
moveAt
moveBack
moveFront
opIndex
opIndexAssign
opSlice
popBack
popFront
save
properties
back
empty
front
length
maxLength
variables
source
Suggestion Box / Bug Report
Range primitives