tmp/tmpp2z5kvu1/{from.md → to.md}
RENAMED
|
@@ -4,13 +4,13 @@
|
|
| 4 |
namespace std {
|
| 5 |
template<class charT, class traits = char_traits<charT>>
|
| 6 |
class basic_streambuf {
|
| 7 |
public:
|
| 8 |
using char_type = charT;
|
| 9 |
-
using int_type =
|
| 10 |
-
using pos_type =
|
| 11 |
-
using off_type =
|
| 12 |
using traits_type = traits;
|
| 13 |
|
| 14 |
virtual ~basic_streambuf();
|
| 15 |
|
| 16 |
// [streambuf.locales], locales
|
|
@@ -92,12 +92,12 @@ namespace std {
|
|
| 92 |
virtual int_type overflow(int_type c = traits::eof());
|
| 93 |
};
|
| 94 |
}
|
| 95 |
```
|
| 96 |
|
| 97 |
-
The class template `basic_streambuf` serves as
|
| 98 |
-
|
| 99 |
-
|
| 100 |
|
| 101 |
- a character *input sequence*;
|
| 102 |
- a character *output sequence*.
|
| 103 |
|
|
|
|
| 4 |
namespace std {
|
| 5 |
template<class charT, class traits = char_traits<charT>>
|
| 6 |
class basic_streambuf {
|
| 7 |
public:
|
| 8 |
using char_type = charT;
|
| 9 |
+
using int_type = traits::int_type;
|
| 10 |
+
using pos_type = traits::pos_type;
|
| 11 |
+
using off_type = traits::off_type;
|
| 12 |
using traits_type = traits;
|
| 13 |
|
| 14 |
virtual ~basic_streambuf();
|
| 15 |
|
| 16 |
// [streambuf.locales], locales
|
|
|
|
| 92 |
virtual int_type overflow(int_type c = traits::eof());
|
| 93 |
};
|
| 94 |
}
|
| 95 |
```
|
| 96 |
|
| 97 |
+
The class template `basic_streambuf` serves as a base class for deriving
|
| 98 |
+
various *stream buffers* whose objects each control two *character
|
| 99 |
+
sequences*:
|
| 100 |
|
| 101 |
- a character *input sequence*;
|
| 102 |
- a character *output sequence*.
|
| 103 |
|