From Jason Turner

[ostream.unformatted]

Diff to HTML by rtfpessoa

tmp/tmppa_e8zml/{from.md → to.md} RENAMED
@@ -2,11 +2,11 @@
2
 
3
  Each unformatted output function begins execution by constructing an
4
  object of class `sentry`. If this object returns `true`, while
5
  converting to a value of type `bool`, the function endeavors to generate
6
  the requested output. If an exception is thrown during output, then
7
- `ios::badbit` is turned on[^34] in `*this`’s error state. If
8
  `(exceptions() & badbit) != 0` then the exception is rethrown. In any
9
  case, the unformatted output function ends by destroying the sentry
10
  object, then, if no exception was thrown, returning the value specified
11
  for the unformatted output function.
12
 
@@ -14,11 +14,11 @@ for the unformatted output function.
14
  basic_ostream<charT,traits>& put(char_type c);
15
  ```
16
 
17
  *Effects:* Behaves as an unformatted output function (as described
18
  in  [[ostream.unformatted]], paragraph 1). After constructing a sentry
19
- object, inserts the character `c`, if possible.[^35]
20
 
21
  Otherwise, calls `setstate(badbit)` (which may throw
22
  `ios_base::failure` ([[iostate.flags]])).
23
 
24
  *Returns:* `*this`.
@@ -28,11 +28,11 @@ basic_ostream& write(const char_type* s, streamsize n);
28
  ```
29
 
30
  *Effects:* Behaves as an unformatted output function (as described
31
  in  [[ostream.unformatted]], paragraph 1). After constructing a sentry
32
  object, obtains characters to insert from successive locations of an
33
- array whose first element is designated by `s`.[^36] Characters are
34
  inserted until either of the following occurs:
35
 
36
  - `n` characters are inserted;
37
  - inserting in the output sequence fails (in which case the function
38
  calls `setstate(badbit)`, which may throw
 
2
 
3
  Each unformatted output function begins execution by constructing an
4
  object of class `sentry`. If this object returns `true`, while
5
  converting to a value of type `bool`, the function endeavors to generate
6
  the requested output. If an exception is thrown during output, then
7
+ `ios::badbit` is turned on[^35] in `*this`’s error state. If
8
  `(exceptions() & badbit) != 0` then the exception is rethrown. In any
9
  case, the unformatted output function ends by destroying the sentry
10
  object, then, if no exception was thrown, returning the value specified
11
  for the unformatted output function.
12
 
 
14
  basic_ostream<charT,traits>& put(char_type c);
15
  ```
16
 
17
  *Effects:* Behaves as an unformatted output function (as described
18
  in  [[ostream.unformatted]], paragraph 1). After constructing a sentry
19
+ object, inserts the character `c`, if possible.[^36]
20
 
21
  Otherwise, calls `setstate(badbit)` (which may throw
22
  `ios_base::failure` ([[iostate.flags]])).
23
 
24
  *Returns:* `*this`.
 
28
  ```
29
 
30
  *Effects:* Behaves as an unformatted output function (as described
31
  in  [[ostream.unformatted]], paragraph 1). After constructing a sentry
32
  object, obtains characters to insert from successive locations of an
33
+ array whose first element is designated by `s`.[^37] Characters are
34
  inserted until either of the following occurs:
35
 
36
  - `n` characters are inserted;
37
  - inserting in the output sequence fails (in which case the function
38
  calls `setstate(badbit)`, which may throw