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

◆ zipper

struct kumi::function::zip_t kumi::function::zipper
constevalnoexcept

#include <kumi/functional/indexable.hpp>

Callable object creating the index sequence corresponding to the zip operation.

Header file

#include <kumi/functional/indexable.hpp>

Call Signature

template<typename Count, typename Size>
consteval auto zipper(Count c, Size s) noexcept;
struct kumi::function::zip_t zipper
Callable object creating the index sequence corresponding to the zip operation.

Parameters

  • c: Number of values per zip slice
  • s: Size of the input domain

Return value

A kumi::projection_map storing offsets from the input paired with the number of elements to generate per zip element