mir-core ~master (2021-10-18T16:44:50Z)
Dub
Repo
save
mir
primitives
pragma(
inline
, true)
@
optmath
inout
(
T
)[]
save
(
T
)
(
scope
return
inout
(
T
)[]
array
)
Examples
auto
a
= [
1
,
2
];
assert
(
a
is
a
.
save
);
Meta
Source
See Implementation
mir
primitives
aliases
elementsCount
functions
anyEmpty
anyEmptyShape
back
elementCount
empty
front
length
popBack
popBackExactly
popBackN
popFront
popFrontExactly
popFrontN
save
shape
walkLength
templates
DeepElementType
DimensionCount
ElementType
isInfinite
variables
hasLength
hasShape
isInputRange
isOutputRange