integer_sequence

integer_sequence<T, N...> is a standard library class that holds integer sequences. It is especially powerful when it is used via its typedefs, such as index_sequence<N...>, make_index_sequence<N>, and index_sequence_for<T>.