tmp/tmpp1aw7br1/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### `node_handle` modifiers <a id="container.node.modifiers">[[container.node.modifiers]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
void swap(node_handle& nh)
|
| 5 |
+
noexcept(ator_traits::propagate_on_container_swap::value ||
|
| 6 |
+
ator_traits::is_always_equal::value);
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
*Requires:* `!alloc_`, or `!nh.alloc_`, or
|
| 10 |
+
`ator_traits::propagate_on_container_swap` is `true`, or
|
| 11 |
+
`alloc_ == nh.alloc_`.
|
| 12 |
+
|
| 13 |
+
*Effects:* Calls `swap(ptr_, nh.ptr_)`. If `!alloc_`, or `!nh.alloc_`,
|
| 14 |
+
or `ator_traits::propagate_on_container_swap` is `true` calls
|
| 15 |
+
`swap(alloc_, nh.alloc_)`.
|
| 16 |
+
|