Title
Initialization of stream iterators
Status
c++11
Section
[istream.iterator.cons][ostream.iterator.cons.des]
Submitter
Jonathan Wakely

Created on 2009-12-04.00:00:00 last changed 161 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [istream.iterator.cons] like so:

istream_iterator(istream_type& s);

3 Effects: Initializes in_stream with &s. value ...

And [ostream.iterator.cons.des] like so:

ostream_iterator(ostream_type& s);

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

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

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

Date: 2009-12-23.00:00:00

[ 2009-12-23 Moved to Tentatively Ready after 6 positive votes on c++std-lib. ]

Date: 2009-12-04.00:00:00

[istream.iterator.cons] describes the effects in terms of:

basic_istream<charT,traits>* in_stream; // exposition only

3 Effects: Initializes in_stream with s.

That should be &s and similarly for [ostream.iterator.cons.des].

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg1429
2010-10-21 18:28:33adminsetmessages: + msg1428
2009-12-04 00:00:00admincreate