24 lines
798 B
Markdown
24 lines
798 B
Markdown
[intseq.general]
|
||
|
||
# 21 Metaprogramming library [[meta]](./#meta)
|
||
|
||
## 21.2 Compile-time integer sequences [[intseq]](intseq#general)
|
||
|
||
### 21.2.1 General [intseq.general]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/meta.tex#L21)
|
||
|
||
The library provides a class template that can represent an integer sequence[.](#1.sentence-1)
|
||
|
||
When used as an argument to a function template the template parameter pack defining the
|
||
sequence can be deduced and used in a pack expansion[.](#1.sentence-2)
|
||
|
||
[*Note [1](#note-1)*:
|
||
|
||
The index_sequence alias template is provided for the common case of
|
||
an integer sequence of type size_t; see also [[tuple.apply]](tuple.apply "22.4.6 Calling a function with a tuple of arguments")[.](#1.sentence-3)
|
||
|
||
â *end note*]
|