tmp/tmp39fttf4_/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
#### Class template `basic_iostream` <a id="iostreamclass">[[iostreamclass]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class charT, class traits = char_traits<charT>>
|
| 6 |
class basic_iostream
|
| 7 |
: public basic_istream<charT, traits>,
|
|
@@ -22,11 +24,11 @@ namespace std {
|
|
| 22 |
protected:
|
| 23 |
// [iostream.cons], constructor
|
| 24 |
basic_iostream(const basic_iostream&) = delete;
|
| 25 |
basic_iostream(basic_iostream&& rhs);
|
| 26 |
|
| 27 |
-
// [iostream.assign],
|
| 28 |
basic_iostream& operator=(const basic_iostream&) = delete;
|
| 29 |
basic_iostream& operator=(basic_iostream&& rhs);
|
| 30 |
void swap(basic_iostream& rhs);
|
| 31 |
};
|
| 32 |
}
|
|
@@ -51,11 +53,11 @@ explicit basic_iostream(basic_streambuf<charT, traits>* sb);
|
|
| 51 |
``` cpp
|
| 52 |
basic_iostream(basic_iostream&& rhs);
|
| 53 |
```
|
| 54 |
|
| 55 |
*Effects:* Move constructs from the rvalue `rhs` by constructing the
|
| 56 |
-
`basic_istream` base class with `move(rhs)`.
|
| 57 |
|
| 58 |
##### Destructor <a id="iostream.dest">[[iostream.dest]]</a>
|
| 59 |
|
| 60 |
``` cpp
|
| 61 |
virtual ~basic_iostream();
|
|
|
|
| 1 |
#### Class template `basic_iostream` <a id="iostreamclass">[[iostreamclass]]</a>
|
| 2 |
|
| 3 |
+
##### General <a id="iostreamclass.general">[[iostreamclass.general]]</a>
|
| 4 |
+
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
template<class charT, class traits = char_traits<charT>>
|
| 8 |
class basic_iostream
|
| 9 |
: public basic_istream<charT, traits>,
|
|
|
|
| 24 |
protected:
|
| 25 |
// [iostream.cons], constructor
|
| 26 |
basic_iostream(const basic_iostream&) = delete;
|
| 27 |
basic_iostream(basic_iostream&& rhs);
|
| 28 |
|
| 29 |
+
// [iostream.assign], assignment and swap
|
| 30 |
basic_iostream& operator=(const basic_iostream&) = delete;
|
| 31 |
basic_iostream& operator=(basic_iostream&& rhs);
|
| 32 |
void swap(basic_iostream& rhs);
|
| 33 |
};
|
| 34 |
}
|
|
|
|
| 53 |
``` cpp
|
| 54 |
basic_iostream(basic_iostream&& rhs);
|
| 55 |
```
|
| 56 |
|
| 57 |
*Effects:* Move constructs from the rvalue `rhs` by constructing the
|
| 58 |
+
`basic_istream` base class with `std::move(rhs)`.
|
| 59 |
|
| 60 |
##### Destructor <a id="iostream.dest">[[iostream.dest]]</a>
|
| 61 |
|
| 62 |
``` cpp
|
| 63 |
virtual ~basic_iostream();
|