The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Take.moveFront
std
range
Take
Range primitives
struct
Take
(Range)
static if
(
hasMobileElements!R
)
auto
moveFront
(
)
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