tmp/tmpg2j0qu0v/{from.md → to.md}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
| 1 |
#### `swap` <a id="string.special">[[string.special]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class charT, class traits, class Allocator>
|
| 5 |
-
|
|
|
|
| 6 |
basic_string<charT, traits, Allocator>& rhs)
|
| 7 |
noexcept(noexcept(lhs.swap(rhs)));
|
| 8 |
```
|
| 9 |
|
| 10 |
-
*Effects:* Equivalent to
|
| 11 |
|
|
|
|
| 1 |
#### `swap` <a id="string.special">[[string.special]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class charT, class traits, class Allocator>
|
| 5 |
+
constexpr void
|
| 6 |
+
swap(basic_string<charT, traits, Allocator>& lhs,
|
| 7 |
basic_string<charT, traits, Allocator>& rhs)
|
| 8 |
noexcept(noexcept(lhs.swap(rhs)));
|
| 9 |
```
|
| 10 |
|
| 11 |
+
*Effects:* Equivalent to `lhs.swap(rhs)`.
|
| 12 |
|