adjacentTuples

Return: Adjacent N-Tuples of r.

TODO: Support ref return via zip for non-const case. TODO Use a ring buffer instead of copy? TODO Add a variant of adjacentTuples that return a static array instead?

adjacentTuples
(
size_t N
R
)
(
R r
)
if (
N >= 2 &&
isInputRange!R
)

See Also

Meta