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

TypedSequence optionally extended by one element. More...

#include "estd/IntegerSequence.hpp"

Public Types

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

Detailed Description

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

TypedSequence optionally extended by one element.

Specialization for the case with extending.

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::ExtendedIntegerSequence< true, TypedSequence< T, Integers... > >::type = TypedSequence<T, Integers..., sizeof...(Integers)>

sequence extended by one element - TypedSequence<T, 0, 1, ..., N - 1> is turned into TypedSequence<T, 0, 1, ..., N - 1, N>


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