tmp/tmplr3qmvy_/{from.md → to.md}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
## Compile-time integer sequences <a id="intseq">[[intseq]]</a>
|
| 2 |
|
| 3 |
-
###
|
| 4 |
|
| 5 |
The library provides a class template that can represent an integer
|
| 6 |
sequence. When used as an argument to a function template the template
|
| 7 |
parameter pack defining the sequence can be deduced and used in a pack
|
| 8 |
expansion.
|
|
@@ -32,12 +32,12 @@ template<class T, T N>
|
|
| 32 |
```
|
| 33 |
|
| 34 |
*Mandates:* `N` ≥ 0.
|
| 35 |
|
| 36 |
The alias template `make_integer_sequence` denotes a specialization of
|
| 37 |
-
`integer_sequence` with `N`
|
| 38 |
`make_integer_sequence<T, N>` is an alias for the type
|
| 39 |
-
`integer_sequence<T, 0, 1,
|
| 40 |
|
| 41 |
[*Note 1*: `make_integer_sequence<int, 0>` is an alias for the type
|
| 42 |
`integer_sequence<int>`. — *end note*]
|
| 43 |
|
|
|
|
| 1 |
## Compile-time integer sequences <a id="intseq">[[intseq]]</a>
|
| 2 |
|
| 3 |
+
### General <a id="intseq.general">[[intseq.general]]</a>
|
| 4 |
|
| 5 |
The library provides a class template that can represent an integer
|
| 6 |
sequence. When used as an argument to a function template the template
|
| 7 |
parameter pack defining the sequence can be deduced and used in a pack
|
| 8 |
expansion.
|
|
|
|
| 32 |
```
|
| 33 |
|
| 34 |
*Mandates:* `N` ≥ 0.
|
| 35 |
|
| 36 |
The alias template `make_integer_sequence` denotes a specialization of
|
| 37 |
+
`integer_sequence` with `N` constant template arguments. The type
|
| 38 |
`make_integer_sequence<T, N>` is an alias for the type
|
| 39 |
+
`integer_sequence<T, 0, 1, `…`, N - 1>`.
|
| 40 |
|
| 41 |
[*Note 1*: `make_integer_sequence<int, 0>` is an alias for the type
|
| 42 |
`integer_sequence<int>`. — *end note*]
|
| 43 |
|