tmp/tmpf5h0di8l/{from.md → to.md}
RENAMED
|
@@ -25,11 +25,11 @@ namespace std {
|
|
| 25 |
: basic_osyncstream(os, Allocator()) {}
|
| 26 |
basic_osyncstream(basic_osyncstream&&) noexcept;
|
| 27 |
~basic_osyncstream();
|
| 28 |
|
| 29 |
// assignment
|
| 30 |
-
basic_osyncstream& operator=(basic_osyncstream&&)
|
| 31 |
|
| 32 |
// [syncstream.osyncstream.members], member functions
|
| 33 |
void emit();
|
| 34 |
streambuf_type* get_wrapped() const noexcept;
|
| 35 |
syncbuf_type* rdbuf() const noexcept { return const_cast<syncbuf_type*>(addressof(sb)); }
|
|
@@ -38,12 +38,12 @@ namespace std {
|
|
| 38 |
syncbuf_type sb; // exposition only
|
| 39 |
};
|
| 40 |
}
|
| 41 |
```
|
| 42 |
|
| 43 |
-
`Allocator` shall meet the *Cpp17Allocator* requirements
|
| 44 |
-
[[
|
| 45 |
|
| 46 |
[*Example 1*:
|
| 47 |
|
| 48 |
A named variable can be used within a block statement for streaming.
|
| 49 |
|
|
|
|
| 25 |
: basic_osyncstream(os, Allocator()) {}
|
| 26 |
basic_osyncstream(basic_osyncstream&&) noexcept;
|
| 27 |
~basic_osyncstream();
|
| 28 |
|
| 29 |
// assignment
|
| 30 |
+
basic_osyncstream& operator=(basic_osyncstream&&);
|
| 31 |
|
| 32 |
// [syncstream.osyncstream.members], member functions
|
| 33 |
void emit();
|
| 34 |
streambuf_type* get_wrapped() const noexcept;
|
| 35 |
syncbuf_type* rdbuf() const noexcept { return const_cast<syncbuf_type*>(addressof(sb)); }
|
|
|
|
| 38 |
syncbuf_type sb; // exposition only
|
| 39 |
};
|
| 40 |
}
|
| 41 |
```
|
| 42 |
|
| 43 |
+
`Allocator` shall meet the *Cpp17Allocator* requirements
|
| 44 |
+
[[allocator.requirements.general]].
|
| 45 |
|
| 46 |
[*Example 1*:
|
| 47 |
|
| 48 |
A named variable can be used within a block statement for streaming.
|
| 49 |
|