36 template <
typename Counter, std::
size_t N>
39 template <
typename OWNER, std::invocable<
int> FormatName, std::
size_t... Ns>
42 static_assert(
sizeof...( Ns ) < 1000,
"Using CounterArray with 1000 arrays or more is prohibited. This "
43 "would lead to very long compilation times" );
46 template <
typename OWNER, std::size_t... Ns>
49 static_assert(
sizeof...( Ns ) < 1000,
"Using CounterArray with 1000 arrays or more is prohibited. This "
50 "would lead to very long compilation times" );
53 template <std::size_t... Ns>
54 auto buffer( std::integer_sequence<std::size_t, Ns...> ) {
55 return std::array{ ( *this )[Ns].buffer()... };
88 template <
typename Counter, std::
size_t N>
90 template <
typename OWNER,
typename FormatName>