The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
mir_slice.opIndex
mir
ndslice
slice
mir_slice
$(BOLD Fully defined index)
auto ref
opIndex
(Indexes indices)
auto ref
opIndex
(Indexes indices)
auto ref
opIndex
(size_t[N] _indices)
auto ref
opIndex
(size_t[N] _indices)
auto ref
opIndex
(size_t[N] _indices)
struct
mir_slice
(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
ref return scope immutable @
trusted
@
fmamath
auto ref
opIndex
()
(
size_t
[
N
]
_indices
...
)
if
(
0 <
N_
&&
N_
< 255
&&
!
(
kind_
==
Canonical
&&
N_
== 1
)
&&
Labels_.length
<=
N_
&&
isIterator
!
Iterator_
)
auto
opIndex
(size_t[I] _indices)
auto
opIndex
(size_t[I] _indices)
auto
opIndex
(size_t[I] _indices)
auto
opIndex
(Slices slices)
auto
opIndex
(Slices slices)
Meta
Source
See Implementation
mir
ndslice
slice
mir_slice
aliases
DeepElement
Iterator
Labels
This
_Structure
_lengths
_strides
ptr
serdeKeysProxy
functions
_stride
accessFlat
anyEmpty
back
backward
dup
elementCount
empty
field
first
front
idup
iterator
label
last
length
lightConst
lightImmutable
lightScope
opBinary
opBinaryRight
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opIndexUnary
opSlice
opUnary
popBack
popBackAll
popBackExactly
popBackN
popFront
popFrontAll
popFrontExactly
popFrontN
save
select
selectBack
selectFront
shape
strides
structure
toConst
toImmutable
values
templates
Element
variables
L
N
S
_iterator
_labels
_structure
kind
$(BOLD Fully defined index)