This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.

349. Minor typographical error in ostream_iterator

Section: 25.6.3 [ostream.iterator] Status: CD1 Submitter: Andy Sawyer Opened: 2001-10-24 Last modified: 2016-02-10

Priority: Not Prioritized

View all issues with CD1 status.


24.5.2 [lib.ostream.iterator] states:


    // basic_ostream<charT,traits>* out_stream; exposition only
    // const char* delim; exposition only

Whilst it's clearly marked "exposition only", I suspect 'delim' should be of type 'const charT*'.

Proposed resolution:

In 25.6.3 [ostream.iterator], replace const char* delim with const charT* delim.