#include <Rodin/Utility/IntegerSequence.h>
template<typename T, T... Is>
IntegerSequence class
Represents a compile-time sequence of integers.
| 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.
Example usage: using Seq = IntegerSequence<int, 0, 1, 2, 3, 4>;