The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Take.opSlice
std
range
Take
Range primitives
struct
Take
(Range)
static if
(
isInfinite!R
)
auto
opSlice
()
(
size_t
i
,
size_t
j
)
if
(
hasSlicing
!
R
)
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