mir-core — Libmir Archive
Libmir Archive
API Reference Index
mir-core Guide
Dlang.org
elementCount
mir
primitives
Returns the number of elements in a range.
@
property
@
optmath
size_t
elementCount
(
Range
)
(
scope
const
auto
ref
Range
range
)
if
(
hasShape
!
Range
||
__traits(
hasMember
,
Range
, "elementCount")
)
mir
primitives
functions
anyEmpty
back
elementCount
empty
front
length
popBack
popBackExactly
popBackN
popFront
popFrontExactly
popFrontN
save
shape
walkLength
templates
DeepElementType
DimensionCount
ElementType
isInfinite
variables
hasLength
hasShape
isInputRange
isOutputRange
Returns the number of elements in a range.