tmp/tmp519fqk60/{from.md → to.md}
RENAMED
|
@@ -3,13 +3,13 @@
|
|
| 3 |
``` cpp
|
| 4 |
int sync() override;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Records that the wrapped stream buffer is to be flushed.
|
| 8 |
-
Then, if
|
| 9 |
|
| 10 |
-
[*Note 1*: If
|
| 11 |
until a call to `emit()`. — *end note*]
|
| 12 |
|
| 13 |
*Returns:* If `emit()` was called and returned `false`, returns `-1`;
|
| 14 |
otherwise `0`.
|
| 15 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
int sync() override;
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Records that the wrapped stream buffer is to be flushed.
|
| 8 |
+
Then, if *emit-on-sync* is `true`, calls `emit()`.
|
| 9 |
|
| 10 |
+
[*Note 1*: If *emit-on-sync* is `false`, the actual flush is delayed
|
| 11 |
until a call to `emit()`. — *end note*]
|
| 12 |
|
| 13 |
*Returns:* If `emit()` was called and returned `false`, returns `-1`;
|
| 14 |
otherwise `0`.
|
| 15 |
|