distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
estd::internal::DoubledIntegerSequence< TypedSequence< T, Integers... > > Struct Template Reference

TypedSequence with doubled number of elements. More...

#include <IntegerSequence.hpp>

Public Types

using type = TypedSequence< T, Integers...,(sizeof...(Integers)+Integers)... >
 

Detailed Description

template<typename T, T... Integers>
struct estd::internal::DoubledIntegerSequence< TypedSequence< T, Integers... > >

TypedSequence with doubled number of elements.

Specialization for TypedSequence.

Template Parameters
Tis an integer type to use for the elements of the sequence
Integersis a non-type parameter pack representing the sequence

Member Typedef Documentation

◆ type

template<typename T , T... Integers>
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>


The documentation for this struct was generated from the following file: