tmp/tmpn970ip7c/{from.md → to.md}
RENAMED
|
@@ -4,13 +4,13 @@
|
|
| 4 |
namespace std {
|
| 5 |
template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>
|
| 6 |
class basic_syncbuf : public basic_streambuf<charT, traits> {
|
| 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 |
using allocator_type = Allocator;
|
| 14 |
|
| 15 |
using streambuf_type = basic_streambuf<charT, traits>;
|
| 16 |
|
|
@@ -37,11 +37,11 @@ namespace std {
|
|
| 37 |
// [syncstream.syncbuf.virtuals], overridden virtual functions
|
| 38 |
int sync() override;
|
| 39 |
|
| 40 |
private:
|
| 41 |
streambuf_type* wrapped; // exposition only
|
| 42 |
-
bool
|
| 43 |
};
|
| 44 |
}
|
| 45 |
```
|
| 46 |
|
| 47 |
Class template `basic_syncbuf` stores character data written to it,
|
|
|
|
| 4 |
namespace std {
|
| 5 |
template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT>>
|
| 6 |
class basic_syncbuf : public basic_streambuf<charT, traits> {
|
| 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 |
using allocator_type = Allocator;
|
| 14 |
|
| 15 |
using streambuf_type = basic_streambuf<charT, traits>;
|
| 16 |
|
|
|
|
| 37 |
// [syncstream.syncbuf.virtuals], overridden virtual functions
|
| 38 |
int sync() override;
|
| 39 |
|
| 40 |
private:
|
| 41 |
streambuf_type* wrapped; // exposition only
|
| 42 |
+
bool emit-on-sync{}; // exposition only
|
| 43 |
};
|
| 44 |
}
|
| 45 |
```
|
| 46 |
|
| 47 |
Class template `basic_syncbuf` stores character data written to it,
|