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-01-28 10:19:27 UTC

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.