From Jason Turner

[container.node.modifiers]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpj0rhpe1i/{from.md → to.md} +10 -9
tmp/tmpj0rhpe1i/{from.md → to.md} RENAMED
@@ -1,16 +1,17 @@
1
  #### 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
- *Preconditions:* `!alloc_`, or `!nh.alloc_`, or
10
- `ator_traits::propagate_on_container_swap::value` 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::value` is `true` calls
15
- `swap(alloc_, nh.alloc_)`.
 
16
 
 
1
  #### Modifiers <a id="container.node.modifiers">[[container.node.modifiers]]</a>
2
 
3
  ``` cpp
4
+ constexpr void swap(node-handle& nh)
5
+ noexcept(ator-traits::propagate_on_container_swap::value ||
6
+ ator-traits::is_always_equal::value);
7
  ```
8
 
9
+ *Preconditions:* `!`*`alloc_`* is `true`, or `!nh.`*`alloc_`*, or
10
+ *`ator-traits`*`::propagate_on_container_swap::value` is `true`, or
11
+ *`alloc_`*` == nh.`*`alloc_`* is `true`.
12
 
13
+ *Effects:* Calls `swap(`*`ptr_`*`, nh.`*`ptr_`*`)`. If `!`*`alloc_`* is
14
+ `true`, or `!nh.`*`alloc_`* is `true`, or
15
+ *`ator-traits`*`::propagate_on_container_swap::value` is `true` calls
16
+ `swap(`*`alloc_`*`, nh.`*`alloc_`*`)`.
17