23 Iterators library [iterators]

23.6 Stream iterators [stream.iterators]

23.6.2 Class template ostream_­iterator [ostream.iterator]

23.6.2.1 Constructors and destructor [ostream.iterator.cons.des]

ostream_iterator(ostream_type& s);
Effects: Initializes out_­stream with addressof(s) and delim with nullptr.
ostream_iterator(ostream_type& s, const charT* delimiter);
Effects: Initializes out_­stream with addressof(s) and delim with delimiter.