tmp/tmp8qt6jw7y/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
#### Specialized algorithms <a id="priqueue.special">[[priqueue.special]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T, class Container, class Compare>
|
| 5 |
-
void swap(priority_queue<T, Container, Compare>& x,
|
| 6 |
priority_queue<T, Container, Compare>& y) noexcept(noexcept(x.swap(y)));
|
| 7 |
```
|
| 8 |
|
| 9 |
*Constraints:* `is_swappable_v<Container>` is `true` and
|
| 10 |
`is_swappable_v<Compare>` is `true`.
|
|
|
|
| 1 |
#### Specialized algorithms <a id="priqueue.special">[[priqueue.special]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class T, class Container, class Compare>
|
| 5 |
+
constexpr void swap(priority_queue<T, Container, Compare>& x,
|
| 6 |
priority_queue<T, Container, Compare>& y) noexcept(noexcept(x.swap(y)));
|
| 7 |
```
|
| 8 |
|
| 9 |
*Constraints:* `is_swappable_v<Container>` is `true` and
|
| 10 |
`is_swappable_v<Compare>` is `true`.
|