distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
TypedSequence with doubled number of elements. More...
#include "estd/IntegerSequence.hpp"
Public Types | |
using | type = TypedSequence< T, Integers...,(sizeof...(Integers)+Integers)... > |
TypedSequence with doubled number of elements.
Specialization for TypedSequence.
T | is an integer type to use for the elements of the sequence |
Integers | is a non-type parameter pack representing the sequence |
using estd::internal::DoubledIntegerSequence< TypedSequence< T, Integers... > >::type = TypedSequence<T, Integers..., (sizeof...(Integers) + Integers)...> |
TypedSequence with doubled number of elements - TypedSequence<T, 0, 1, ..., N - 1> is turned into TypedSequence<T, 0, 1, ..., N - 1, N, N + 1, ..., 2 * N - 1>