tmp/tmpg859srxr/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
| 4 |
void emit();
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Behaves as an unformatted output
|
| 8 |
function [[ostream.unformatted]]. After constructing a `sentry` object,
|
| 9 |
-
calls `sb.emit()`. If that call returns `false`, calls
|
| 10 |
`setstate(ios_base::badbit)`.
|
| 11 |
|
| 12 |
[*Example 1*:
|
| 13 |
|
| 14 |
A flush on a `basic_osyncstream` does not flush immediately:
|
|
@@ -47,11 +47,11 @@ on the underlying stream.
|
|
| 47 |
|
| 48 |
``` cpp
|
| 49 |
streambuf_type* get_wrapped() const noexcept;
|
| 50 |
```
|
| 51 |
|
| 52 |
-
*Returns:* `sb.get_wrapped()`.
|
| 53 |
|
| 54 |
[*Example 3*:
|
| 55 |
|
| 56 |
Obtaining the wrapped stream buffer with `get_wrapped()` allows wrapping
|
| 57 |
it again with an `osyncstream`. For example,
|
|
|
|
| 4 |
void emit();
|
| 5 |
```
|
| 6 |
|
| 7 |
*Effects:* Behaves as an unformatted output
|
| 8 |
function [[ostream.unformatted]]. After constructing a `sentry` object,
|
| 9 |
+
calls *`sb`*`.emit()`. If that call returns `false`, calls
|
| 10 |
`setstate(ios_base::badbit)`.
|
| 11 |
|
| 12 |
[*Example 1*:
|
| 13 |
|
| 14 |
A flush on a `basic_osyncstream` does not flush immediately:
|
|
|
|
| 47 |
|
| 48 |
``` cpp
|
| 49 |
streambuf_type* get_wrapped() const noexcept;
|
| 50 |
```
|
| 51 |
|
| 52 |
+
*Returns:* *`sb`*`.get_wrapped()`.
|
| 53 |
|
| 54 |
[*Example 3*:
|
| 55 |
|
| 56 |
Obtaining the wrapped stream buffer with `get_wrapped()` allows wrapping
|
| 57 |
it again with an `osyncstream`. For example,
|