mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
StairsIterator.opBinary
mir
ndslice
iterator
StairsIterator
Undocumented in source. Be warned that the author may not have intended to support it.
auto
opBinary
(ptrdiff_t index)
struct
StairsIterator
(Iterator, string direction)
@
optmath
auto
opBinary
(
string
op
)
(
ptrdiff_t
index
)
if
(
op
== "+" ||
op
== "-"
)
if
(
direction
== "+" ||
direction
== "-"
)
ptrdiff_t
opBinary
(typeof(this) right)
Meta
Source
See Implementation
mir
ndslice
iterator
StairsIterator
functions
lightConst
lightImmutable
opBinary
opCmp
opEquals
opIndex
opOpAssign
opUnary
variables
_iterator
_length