[ostreambuf.iter.cons] (original) (raw)

24 Iterators library [iterators]

24.6 Stream iterators [stream.iterators]

24.6.5 Class template ostreambuf_iterator [ostreambuf.iterator]

24.6.5.2 Constructors [ostreambuf.iter.cons]

🔗

ostreambuf_iterator(ostream_type& s) noexcept;

1

#

Preconditions: s.rdbuf()is not a null pointer.

2

#

Effects: Initializes sbuf_ with s.rdbuf().

🔗

ostreambuf_iterator(streambuf_type* s) noexcept;

3

#

Preconditions: sis not a null pointer.

4

#

Effects: Initializes sbuf_ with s.