phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
Take.length
std
range
Take
Range primitives
size_t
length
[@property getter]
size_t
length
[@property getter]
struct
Take
(Range)
@
property
static if
(!(
isInfinite!R
))
static if
(
hasLength!R
)
size_t
length
(
)
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