23
General utilities library
[utilities]
23.3
Compile-time integer sequences
[intseq]
23.3.3
Alias template
make_integer_sequence
[intseq.make]
template<class T, T N> using make_integer_sequence = integer_sequence<T,
see below
>;
1
#
If
N
is negative the program is ill-formed
.
The alias template
make_integer_sequence
denotes a specialization of
integer_sequence
with
N
template non-type arguments
.
The type
make_integer_sequence<T, N>
denotes the type
integer_sequence<T, 0, 1, ..., N-1>
.
[
Note
:
make_integer_sequence<int, 0>
denotes the type
integer_sequence<int>
—
end note
]