39. istreambuf_iterator<>::operator++(int) definition garbled

Section: [istreambuf.iterator.ops] Status: TC1 Submitter: Nathan Myers Opened: 1998-08-06 Last modified: 2017-11-29 22:35:18 UTC

Priority: Not Prioritized

View all other issues in [istreambuf.iterator.ops].

View all issues with TC1 status.


Following the definition of istreambuf_iterator<>::operator++(int) in paragraph 3, the standard contains three lines of garbage text left over from a previous edit.

istreambuf_iterator<charT,traits> tmp = *this;

Proposed resolution:

In [istreambuf.iterator::op++], delete the three lines of code at the end of paragraph 3.