From Jason Turner

[stringstream.cons]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpprayhyn1/{from.md → to.md} +1 -27
tmp/tmpprayhyn1/{from.md → to.md} RENAMED
@@ -1,6 +1,6 @@
1
- ### basic_stringstream constructors <a id="stringstream.cons">[[stringstream.cons]]</a>
2
 
3
  ``` cpp
4
  explicit basic_stringstream(
5
  ios_base::openmode which = ios_base::out|ios_base::in);
6
  ```
@@ -28,31 +28,5 @@ basic_stringstream(basic_stringstream&& rhs);
28
  *Effects:* Move constructs from the rvalue `rhs`. This is accomplished
29
  by move constructing the base class, and the contained
30
  `basic_stringbuf`. Next `basic_istream<charT,traits>::set_rdbuf(&sb)` is
31
  called to install the contained `basic_stringbuf`.
32
 
33
- #### Assign and swap <a id="stringstream.assign">[[stringstream.assign]]</a>
34
-
35
- ``` cpp
36
- basic_stringstream& operator=(basic_stringstream&& rhs);
37
- ```
38
-
39
- *Effects:* Move assigns the base and members of `*this` from the base
40
- and corresponding members of `rhs`.
41
-
42
- *Returns:* `*this`.
43
-
44
- ``` cpp
45
- void swap(basic_stringstream& rhs);
46
- ```
47
-
48
- *Effects:* Exchanges the state of `*this` and `rhs` by calling
49
- `basic_iostream<charT,traits>::swap(rhs)` and `sb.swap(rhs.sb)`.
50
-
51
- ``` cpp
52
- template <class charT, class traits, class Allocator>
53
- void swap(basic_stringstream<charT, traits, Allocator>& x,
54
- basic_stringstream<charT, traits, Allocator>& y);
55
- ```
56
-
57
- *Effects:* `x.swap(y)`.
58
-
 
1
+ #### basic_stringstream constructors <a id="stringstream.cons">[[stringstream.cons]]</a>
2
 
3
  ``` cpp
4
  explicit basic_stringstream(
5
  ios_base::openmode which = ios_base::out|ios_base::in);
6
  ```
 
28
  *Effects:* Move constructs from the rvalue `rhs`. This is accomplished
29
  by move constructing the base class, and the contained
30
  `basic_stringbuf`. Next `basic_istream<charT,traits>::set_rdbuf(&sb)` is
31
  called to install the contained `basic_stringbuf`.
32