349. Minor typographical error in ostream_iterator

Section: 27.6.2 [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.

Discussion:

24.5.2 [lib.ostream.iterator] states:

    [...]

    private:
    // 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 27.6.2 [ostream.iterator], replace const char* delim with const charT* delim.