tmp/tmph6ti5vyq/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@ Each formatted output function begins execution by constructing an
|
|
| 4 |
object of class `sentry`. If this object returns `true` when converted
|
| 5 |
to a value of type `bool`, the function endeavors to generate the
|
| 6 |
requested output. If the generation fails, then the formatted output
|
| 7 |
function does `setstate(ios_base::failbit)`, which might throw an
|
| 8 |
exception. If an exception is thrown during output, then `ios::badbit`
|
| 9 |
-
is turned on[^
|
| 10 |
`(exceptions()&badbit) != 0` then the exception is rethrown. Whether or
|
| 11 |
not an exception is thrown, the `sentry` object is destroyed before
|
| 12 |
leaving the formatted output function. If no exception is thrown, the
|
| 13 |
result of the formatted output function is `*this`.
|
| 14 |
|
|
|
|
| 4 |
object of class `sentry`. If this object returns `true` when converted
|
| 5 |
to a value of type `bool`, the function endeavors to generate the
|
| 6 |
requested output. If the generation fails, then the formatted output
|
| 7 |
function does `setstate(ios_base::failbit)`, which might throw an
|
| 8 |
exception. If an exception is thrown during output, then `ios::badbit`
|
| 9 |
+
is turned on[^33] in `*this`’s error state. If
|
| 10 |
`(exceptions()&badbit) != 0` then the exception is rethrown. Whether or
|
| 11 |
not an exception is thrown, the `sentry` object is destroyed before
|
| 12 |
leaving the formatted output function. If no exception is thrown, the
|
| 13 |
result of the formatted output function is `*this`.
|
| 14 |
|