From Jason Turner

[ostreambuf.iterator]

Diff to HTML by rtfpessoa

tmp/tmp8p07bnnk/{from.md → to.md} RENAMED
@@ -35,30 +35,30 @@ to get a character value out of the output iterator.
35
 
36
  ``` cpp
37
  ostreambuf_iterator(ostream_type& s) noexcept;
38
  ```
39
 
40
- *Requires:* `s.rdbuf()` shall not null pointer.
41
 
42
- *Effects:* `:sbuf_(s.rdbuf()) {}`.
43
 
44
  ``` cpp
45
  ostreambuf_iterator(streambuf_type* s) noexcept;
46
  ```
47
 
48
  *Requires:* `s` shall not be a null pointer.
49
 
50
- *Effects:* `: `*`sbuf_`*`(s) {}`.
51
 
52
  #### `ostreambuf_iterator` operations <a id="ostreambuf.iter.ops">[[ostreambuf.iter.ops]]</a>
53
 
54
  ``` cpp
55
  ostreambuf_iterator<charT,traits>&
56
  operator=(charT c);
57
  ```
58
 
59
- *Effects:* If `failed()` yields `false`, calls *`sbuf_`*`->sputc(c)`;
60
  otherwise has no effect.
61
 
62
  *Returns:* `*this`.
63
 
64
  ``` cpp
@@ -77,7 +77,7 @@ ostreambuf_iterator<charT,traits>& operator++(int);
77
  ``` cpp
78
  bool failed() const noexcept;
79
  ```
80
 
81
  *Returns:* `true` if in any prior use of member `operator=`, the call to
82
- *`sbuf_`*`->sputc()` returned `traits::eof()`; or `false` otherwise.
83
 
 
35
 
36
  ``` cpp
37
  ostreambuf_iterator(ostream_type& s) noexcept;
38
  ```
39
 
40
+ *Requires:* `s.rdbuf()` shall not be a null pointer.
41
 
42
+ *Effects:* Initializes `sbuf_` with `s.rdbuf()`.
43
 
44
  ``` cpp
45
  ostreambuf_iterator(streambuf_type* s) noexcept;
46
  ```
47
 
48
  *Requires:* `s` shall not be a null pointer.
49
 
50
+ *Effects:* Initializes `sbuf_` with `s`.
51
 
52
  #### `ostreambuf_iterator` operations <a id="ostreambuf.iter.ops">[[ostreambuf.iter.ops]]</a>
53
 
54
  ``` cpp
55
  ostreambuf_iterator<charT,traits>&
56
  operator=(charT c);
57
  ```
58
 
59
+ *Effects:* If `failed()` yields `false`, calls `sbuf_->sputc(c)`;
60
  otherwise has no effect.
61
 
62
  *Returns:* `*this`.
63
 
64
  ``` cpp
 
77
  ``` cpp
78
  bool failed() const noexcept;
79
  ```
80
 
81
  *Returns:* `true` if in any prior use of member `operator=`, the call to
82
+ `sbuf_->sputc()` returned `traits::eof()`; or `false` otherwise.
83