From Jason Turner

[string::swap]

Diff to HTML by rtfpessoa

tmp/tmpayf122x0/{from.md → to.md} RENAMED
@@ -1,13 +1,13 @@
1
  #### `basic_string::swap` <a id="string::swap">[[string::swap]]</a>
2
 
3
  ``` cpp
4
- void swap(basic_string<charT,traits,Allocator>& 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
 
 
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