From Jason Turner

[ostreambuf.iterator]

Diff to HTML by rtfpessoa

tmp/tmppxvl4ncc/{from.md → to.md} RENAMED
@@ -1,7 +1,9 @@
1
  ### Class template `ostreambuf_iterator` <a id="ostreambuf.iterator">[[ostreambuf.iterator]]</a>
2
 
 
 
3
  The class template `ostreambuf_iterator` writes successive *characters*
4
  onto the output stream from which it was constructed.
5
 
6
  ``` cpp
7
  namespace std {
@@ -16,22 +18,21 @@ namespace std {
16
  using char_type = charT;
17
  using traits_type = traits;
18
  using streambuf_type = basic_streambuf<charT,traits>;
19
  using ostream_type = basic_ostream<charT,traits>;
20
 
21
- constexpr ostreambuf_iterator() noexcept = default;
22
  ostreambuf_iterator(ostream_type& s) noexcept;
23
  ostreambuf_iterator(streambuf_type* s) noexcept;
24
  ostreambuf_iterator& operator=(charT c);
25
 
26
  ostreambuf_iterator& operator*();
27
  ostreambuf_iterator& operator++();
28
  ostreambuf_iterator& operator++(int);
29
  bool failed() const noexcept;
30
 
31
  private:
32
- streambuf_type* sbuf_ = nullptr; // exposition only
33
  };
34
  }
35
  ```
36
 
37
  #### Constructors <a id="ostreambuf.iter.cons">[[ostreambuf.iter.cons]]</a>
 
1
  ### Class template `ostreambuf_iterator` <a id="ostreambuf.iterator">[[ostreambuf.iterator]]</a>
2
 
3
+ #### General <a id="ostreambuf.iterator.general">[[ostreambuf.iterator.general]]</a>
4
+
5
  The class template `ostreambuf_iterator` writes successive *characters*
6
  onto the output stream from which it was constructed.
7
 
8
  ``` cpp
9
  namespace std {
 
18
  using char_type = charT;
19
  using traits_type = traits;
20
  using streambuf_type = basic_streambuf<charT,traits>;
21
  using ostream_type = basic_ostream<charT,traits>;
22
 
 
23
  ostreambuf_iterator(ostream_type& s) noexcept;
24
  ostreambuf_iterator(streambuf_type* s) noexcept;
25
  ostreambuf_iterator& operator=(charT c);
26
 
27
  ostreambuf_iterator& operator*();
28
  ostreambuf_iterator& operator++();
29
  ostreambuf_iterator& operator++(int);
30
  bool failed() const noexcept;
31
 
32
  private:
33
+ streambuf_type* sbuf_; // exposition only
34
  };
35
  }
36
  ```
37
 
38
  #### Constructors <a id="ostreambuf.iter.cons">[[ostreambuf.iter.cons]]</a>