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)
ptrdiff_t
opBinary
(typeof(this) right)
struct
StairsIterator
(Iterator, string direction)
scope const
@
optmath
ptrdiff_t
opBinary
(
string
op
: "-"
)
(
scope
ref
const
typeof
(this)
right
)
if
(
direction
== "+" ||
direction
== "-"
)
Meta
Source
See Implementation
mir
ndslice
iterator
StairsIterator
functions
lightConst
lightImmutable
opBinary
opCmp
opEquals
opIndex
opOpAssign
opUnary
variables
_iterator
_length