#include <kumi/functional/indexable.hpp>
Callable object computing the index map associated to a slicing (begin, end, step) operation.
#include <kumi/functional/indexable.hpp>
template<typename Begin, typename End, typename Step>
consteval auto slicer(Begin b, End e, Step s)
noexcept;
struct kumi::function::slice_t slicer
Callable object computing the index map associated to a slicing (begin, end, step) operation.
- b: Compile-time index marking the beginning of the slice range
- e: Compile-time index marking the end boundary of the slice range (exclusive)
- s: Compile-time stride step hopping increment factor
A std::index_sequence tracking linear jumps matching Begin + I * Step.