The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
MapIterator
mir
ndslice
iterator
MapIterator
is used by
map
.
@
fmamath
struct
MapIterator (
Iterator
alias
_fun
) {
@
fmamath
Iterator
_iterator
;
auto
lightConst
();
auto
lightImmutable
();
template
pipe
(fun...)
via
import
mir
.
functional
:
pipe
,
autoExpandAndForward
;
;
alias
__map
(
alias
fun1
)
=
MapIterator__map
!(
Iterator
,
_fun
,
pipe
!(
_fun
,
fun1
))
;
struct
Tuple
(T...)
via
import
mir
.
functional
:
Tuple
,
autoExpandAndForward
;
;
static if
(
hasZeroShiftFieldMember!Iterator
)
auto
assumeFieldsHaveZeroShift
();
}
Members
Aliases
__map
alias
__map
(
alias
fun1
)
=
MapIterator__map
!(
Iterator
,
_fun
,
pipe
!(
_fun
,
fun1
))
Functions
assumeFieldsHaveZeroShift
auto
assumeFieldsHaveZeroShift
()
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
Variables
_iterator
Iterator
_iterator
;
Meta
Source
See Implementation
mir
ndslice
iterator
structs
BytegroupIterator
CachedIterator
ChopIterator
FieldIterator
FlattenedIterator
IndexIterator
IotaIterator
MapIterator
MemberIterator
NeighboursIterator
RetroIterator
SliceIterator
SlideIterator
StairsIterator
StrideIterator
SubSliceIterator
Triplet
TripletIterator
VmapIterator
ZipIterator
MapIterator is used by map.