Public Types | Static Public Member Functions
efl::eina::integer_sequence< T, Ints > Struct Template Reference

Compile-time sequence of integers. More...

Public Types

typedef T value_type
 Type of the integers. More...
 
typedef integer_sequence< T, Ints... > type
 Type for the sequence instantiation. More...
 

Static Public Member Functions

static constexpr std::size_t size ()
 Get the number of elements in the sequence. More...
 

Detailed Description

template<typename T, T... Ints>
struct efl::eina::integer_sequence< T, Ints >

Compile-time sequence of integers.

Member Typedef Documentation

◆ value_type

template<typename T, T... Ints>
typedef T efl::eina::integer_sequence< T, Ints >::value_type

Type of the integers.

◆ type

template<typename T, T... Ints>
typedef integer_sequence<T, Ints...> efl::eina::integer_sequence< T, Ints >::type

Type for the sequence instantiation.

Member Function Documentation

◆ size()

template<typename T, T... Ints>
static constexpr std::size_t efl::eina::integer_sequence< T, Ints >::size ( )
inlinestatic

Get the number of elements in the sequence.

Returns
std::size_t representing the sequence size.