KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches

◆ extractor

struct kumi::function::extract_t kumi::function::extractor
constevalnoexcept

#include <kumi/functional/indexable.hpp>

Callable object computing the index map associated to the extraction operation.

Header file

#include <kumi/functional/indexable.hpp>

Call Signature

template<typename Begin, typename End, typename Size, typename Step>
consteval auto extractor(Begin b, End e, Size s, Step st) noexcept;
struct kumi::function::extract_t extractor
Callable object computing the index map associated to the extraction operation.

Parameters

  • b: Compile-time index marking the beginning of the excluded window
  • e: Compile-time index marking the end of the excluded window
  • s: Total compile-time width limit of the original tuple frame
  • st: Offset between consecutive elements to extract.

Return value

A std::index_sequence mapping original layout indices while skipping the extracted block window.