From Jason Turner

[string::swap]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpk1u2vsnh/{from.md → to.md} +0 -13
tmp/tmpk1u2vsnh/{from.md → to.md} RENAMED
@@ -1,13 +0,0 @@
1
- #### `basic_string::swap` <a id="string::swap">[[string::swap]]</a>
2
-
3
- ``` cpp
4
- void swap(basic_string& s);
5
- ```
6
-
7
- `*this` contains the same sequence of characters that was in `s`, `s`
8
- contains the same sequence of characters that was in `*this`.
9
-
10
- *Throws:* Nothing.
11
-
12
- *Complexity:* Constant time.
13
-