E.V.E
v2023.02.15

◆ pattern_view()

template<std::ptrdiff_t B, std::ptrdiff_t E, std::ptrdiff_t N, shuffle_pattern Pattern>
constexpr auto pattern_view ( Pattern const &  )
related

Extract a sub-pattern of an existing pattern.

Constructs a pattern by extracting all index from a pattern of size N between B and E.

Template Parameters
BPosition of first index to extract
EPosition of last index to extract
NSize of the pattern to extract from