Files
2025-10-25 03:02:53 +03:00

978 B

[intseq.make]

21 Metaprogramming library [meta]

21.2 Compile-time integer sequences [intseq]

21.2.3 Alias template make_integer_sequence [intseq.make]

🔗

template<class T, T N> using make_integer_sequence = integer_sequence<T, see below>;

1

#

Mandates: N ≥ 0.

2

#

The alias templatemake_integer_sequence denotes a specialization ofinteger_sequence with N constant template arguments.

The type make_integer_sequence<T, N> is an alias for the typeinteger_sequence<T, 0, 1, …, N - 1>.

[Note 1:

make_integer_sequence<int, 0> is an alias for the typeinteger_sequence.

— end note]