mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
toSlices
mir
ndslice
slice
template
toSlices (
args
...
) {
alias
arg
=
args
[
0
]
;
alias
Arg
=
typeof
(
arg
)
;
alias
slc
=
arg
;
static if
(
args.length
)
static if
(!(
isMutable!Arg && isSlice!Arg
))
auto ref
slc
[@property getter];
alias
toSlices
=
AliasSeq
!(
slc
,
toSlices
!(
args
[
1
..$]))
;
alias
toSlices
=
AliasSeq
!()
;
}
Members
Aliases
Arg
alias
Arg
=
typeof
(
arg
)
Undocumented in source.
arg
alias
arg
=
args
[
0
]
Undocumented in source.
slc
alias
slc
=
arg
Undocumented in source.
toSlices
alias
toSlices
=
AliasSeq
!(
slc
,
toSlices
!(
args
[
1
..$]))
Undocumented in source.
toSlices
alias
toSlices
=
AliasSeq
!()
Undocumented in source.
Properties
slc
auto ref
slc
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
mir
ndslice
slice
aliases
Canonical
ConstOfUnqualOfPointerTarget
Contiguous
ImmutableOfUnqualOfPointerTarget
IteratorOf
LightConstOfLightScopeOf
LightImmutableOfLightConstOf
Slice
SliceKind
Universal
enums
isConvertibleToSlice
isSlice
kindOf
mir_slice_kind
functions
ndassign
sliced
slicedField
slicedNdField
toSlice
structs
CoordinateValue
Structure
mir_slice
templates
allLightScope
hasAsSlice
toSlices