KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches

◆ slice_index_sequence

template<std::size_t B, std::size_t E, std::size_t S = 1>
using kumi::function::slice_index_sequence

#include <kumi/functional/index_sequence.hpp>

Initial value:
decltype(kumi_implementation_defined>)

A helper alias template computing the index map associated to the slicing (begin, end, step) operation.

Header file

#include <kumi/functional/indexable.hpp>

Call Signature

template<std::size_t B Begin, std::size_t B End, std::size_t B Step>
decltype(kumi_implementation_defined >) slice_index_sequence
A helper alias template computing the index map associated to the slicing (begin, end,...
Definition index_sequence.hpp:339

Template Parameters

  • 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

Return value

A std::index_sequence tracking linear jumps matching Begin + I * Step.