tmp/tmp0zjbd_pr/{from.md → to.md}
RENAMED
|
@@ -7,5 +7,13 @@ container requirements table in [[container.requirements]]. In addition
|
|
| 7 |
to the requirements specified in the container requirements table, the
|
| 8 |
implicit move constructor and move assignment operator for `array`
|
| 9 |
require that `T` be `MoveConstructible` or `MoveAssignable`,
|
| 10 |
respectively.
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
to the requirements specified in the container requirements table, the
|
| 8 |
implicit move constructor and move assignment operator for `array`
|
| 9 |
require that `T` be `MoveConstructible` or `MoveAssignable`,
|
| 10 |
respectively.
|
| 11 |
|
| 12 |
+
``` cpp
|
| 13 |
+
template<class T, class... U>
|
| 14 |
+
array(T, U...) -> array<T, 1 + sizeof...(U)>;
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
*Requires:* `(is_same_v<T, U> && ...)` is `true`. Otherwise the program
|
| 18 |
+
is ill-formed.
|
| 19 |
+
|