From Jason Turner

[array.swap]

Diff to HTML by rtfpessoa

tmp/tmp4vfbp4x2/{from.md → to.md} RENAMED
@@ -1,15 +1,13 @@
1
  #### `array::swap` <a id="array.swap">[[array.swap]]</a>
2
 
3
  ``` cpp
4
- void swap(array& y) noexcept(noexcept(swap(declval<T&>(), declval<T&>())));
5
  ```
6
 
7
- *Effects:* `swap_ranges(begin(), end(), y.begin())`
8
 
9
- *Throws:* Nothing unless one of the element-wise swap calls throws an
10
- exception.
11
-
12
- *Note:* Unlike the `swap` function for other containers, `array::swap`
13
- takes linear time, may exit via an exception, and does not cause
14
- iterators to become associated with the other container.
15
 
 
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