The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Take.opIndex
std
range
Take
Range primitives
alias
opDollar
=
length
void
popBack
()
auto ref
back
[@property getter]
auto ref
opIndex
(size_t index)
struct
Take
(Range)
ref
auto ref
opIndex
(
size_t
index
)
if
(
isInputRange
!(
Unqual
!
Range
) &&
!
(
(
!
isInfinite
!(
Unqual
!
Range
) &&
hasSlicing
!(
Unqual
!
Range
)
)
||
is
(
Range
T
==
Take
!
T
)
)
)
ElementType
!
R
back
[@property setter]
void
opIndexAssign
(ElementType!R v, size_t index)
auto
moveBack
()
auto
moveAt
(size_t index)
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