24 Iterators library [iterators]

24.6 Stream iterators [stream.iterators]

24.6.2 Class template ostream_iterator [ostream.iterator]

24.6.2.1 ostream_iterator constructors and destructor [ostream.iterator.cons.des]

ostream_iterator(ostream_type& s);

Effects: Initializes out_stream with &s and delim with null.

ostream_iterator(ostream_type& s, const charT* delimiter);

Effects: Initializes out_stream with &s and delim with delimiter.

ostream_iterator(const ostream_iterator& x);

Effects: Constructs a copy of x.

~ostream_iterator();

Effects: The iterator is destroyed.