tmp/tmp8s9_y_ms/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,13 @@
|
|
| 1 |
#### Constructors, copy, and assignment <a id="array.cons">[[array.cons]]</a>
|
| 2 |
|
| 3 |
-
|
| 4 |
-
`array` relies on the implicitly-declared special member functions
|
| 5 |
[[class.default.ctor]], [[class.dtor]], [[class.copy.ctor]] to conform
|
| 6 |
to the container requirements table in [[container.requirements]]. In
|
| 7 |
addition to the requirements specified in the container requirements
|
| 8 |
-
table, the
|
| 9 |
-
`array` require that `T` be *Cpp17MoveConstructible* or
|
| 10 |
*Cpp17MoveAssignable*, respectively.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
template<class T, class... U>
|
| 14 |
array(T, U...) -> array<T, 1 + sizeof...(U)>;
|
|
|
|
| 1 |
#### Constructors, copy, and assignment <a id="array.cons">[[array.cons]]</a>
|
| 2 |
|
| 3 |
+
An `array` relies on the implicitly-declared special member functions
|
|
|
|
| 4 |
[[class.default.ctor]], [[class.dtor]], [[class.copy.ctor]] to conform
|
| 5 |
to the container requirements table in [[container.requirements]]. In
|
| 6 |
addition to the requirements specified in the container requirements
|
| 7 |
+
table, the implicitly-declared move constructor and move assignment
|
| 8 |
+
operator for `array` require that `T` be *Cpp17MoveConstructible* or
|
| 9 |
*Cpp17MoveAssignable*, respectively.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
template<class T, class... U>
|
| 13 |
array(T, U...) -> array<T, 1 + sizeof...(U)>;
|