tmp/tmpcs16vi2k/{from.md → to.md}
RENAMED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
#### `array::swap` <a id="array.swap">[[array.swap]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
void swap(array& y) noexcept(is_nothrow_swappable_v<T>);
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Effects:* Equivalent to `swap_ranges(begin(), end(), y.begin())`.
|
| 8 |
-
|
| 9 |
-
[*Note 1*: Unlike the `swap` function for other containers,
|
| 10 |
-
`array::swap` takes linear time, may exit via an exception, and does not
|
| 11 |
-
cause iterators to become associated with the other
|
| 12 |
-
container. — *end note*]
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|