This is a submodule of . It contains generic _iteration algorithms.

All operators are suitable to change slices using

ref
argument qualification in a function declaration. Note, that string lambdas in Mir are
auto ref
functions.

License

.

.

Copyright

Copyright © 2016-2018, Ilya Yaroshenko, 2018-, Mir community

Andrei Alexandrescu 2008-. Ilya Yaroshenko 2017-

Authors

Ilya Yaroshenko, John Michael Hall, Andrei Alexandrescu (original Phobos code)

, Ilya Yaroshenko (Mir & BetterC rework).

Source

Functions

nBitsToCountReturns:

bit count if set bit count is reached or

-1
otherwise.

nBitsToCountReturns:

bit count if set bit count is reached or

-1
otherwise.

maxLengthReturns:

max length across all dimensions.

uniqReturns:

An input range of consecutively unique elements in the original range. If

r
is also a forward range or bidirectional range, the returned range will be likewise.

Structs

Uniq

Templates

reduce
each
eachUploPair
isSymmetric
minmaxPos
minmaxIndex
minPos
maxPos
minIndex
maxIndex
findIndex
find
any
all
count
equal
cmp
eachLower
eachUpper