tmp/tmpsec72vnq/{from.md → to.md}
RENAMED
|
@@ -8,13 +8,13 @@ namespace std {
|
|
| 8 |
class basic_iostream
|
| 9 |
: public basic_istream<charT, traits>,
|
| 10 |
public basic_ostream<charT, traits> {
|
| 11 |
public:
|
| 12 |
using char_type = charT;
|
| 13 |
-
using int_type =
|
| 14 |
-
using pos_type =
|
| 15 |
-
using off_type =
|
| 16 |
using traits_type = traits;
|
| 17 |
|
| 18 |
// [iostream.cons], constructor
|
| 19 |
explicit basic_iostream(basic_streambuf<charT, traits>* sb);
|
| 20 |
|
|
@@ -69,11 +69,11 @@ virtual ~basic_iostream();
|
|
| 69 |
|
| 70 |
``` cpp
|
| 71 |
basic_iostream& operator=(basic_iostream&& rhs);
|
| 72 |
```
|
| 73 |
|
| 74 |
-
*Effects:* Equivalent to
|
| 75 |
|
| 76 |
``` cpp
|
| 77 |
void swap(basic_iostream& rhs);
|
| 78 |
```
|
| 79 |
|
|
|
|
| 8 |
class basic_iostream
|
| 9 |
: public basic_istream<charT, traits>,
|
| 10 |
public basic_ostream<charT, traits> {
|
| 11 |
public:
|
| 12 |
using char_type = charT;
|
| 13 |
+
using int_type = traits::int_type;
|
| 14 |
+
using pos_type = traits::pos_type;
|
| 15 |
+
using off_type = traits::off_type;
|
| 16 |
using traits_type = traits;
|
| 17 |
|
| 18 |
// [iostream.cons], constructor
|
| 19 |
explicit basic_iostream(basic_streambuf<charT, traits>* sb);
|
| 20 |
|
|
|
|
| 69 |
|
| 70 |
``` cpp
|
| 71 |
basic_iostream& operator=(basic_iostream&& rhs);
|
| 72 |
```
|
| 73 |
|
| 74 |
+
*Effects:* Equivalent to `swap(rhs)`.
|
| 75 |
|
| 76 |
``` cpp
|
| 77 |
void swap(basic_iostream& rhs);
|
| 78 |
```
|
| 79 |
|