phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
UniqueTake.length
nxt
unique_range
UniqueTake
Range primitives
size_t
length
()
struct
UniqueTake
(Range)
@
property
const
size_t
length
(
)
if
(
isInputRange
!(
Unqual
!
Range
) &&
!
(
(
!
isInfinite
!(
Unqual
!
Range
) &&
hasSlicing
!(
Unqual
!
Range
)
)
||
is
(
Range
T
==
UniqueTake
!
T
)
)
)
size_t
length
()
bool
empty
()
auto ref
front
()
void
popFront
()
UniqueTake
save
()
auto
front
(ElementType!R v)
alias
opDollar
=
length
auto
opSlice
(size_t i, size_t j)
Meta
Source
See Implementation
nxt
unique_range
UniqueTake
aliases
opDollar
functions
back
empty
front
length
maxLength
moveAt
moveBack
opIndex
opIndexAssign
opSlice
popBack
popFront
save
variables
source
Range primitives