IntegerSequence

Represents a compile-time sequence of integers.

Defined in Rodin/Utility/IntegerSequence.h

template <
  typename T,
  T... Is>
class IntegerSequence;
Template parameters
T The integer type (e.g., int, size_t).
Is The sequence of integer values.

IntegerSequence is similar to std::integer_sequence and provides a way to represent and manipulate sequences of integers at compile time. This is useful for template metaprogramming operations like tuple indexing and parameter pack expansion.

The following example illustrates usage. using Seq = IntegerSequence<int, 0, 1, 2, 3, 4>;