|
constexpr |
Simple walkthrough over all possible indexes.
Applies the given function object f to every coordinates that are valid inside the given kwk::shape shp. Coordinates are iterated in order of the optimal memory access.
| f | Function object, to be applied to a variadic list of integral coordinates. The signature of the function should be equivalent to the following: void f(std::integral auto... is);
|
| shp | A kwk::shape used as boundaries for the coordinates |
f which could have been modified.