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

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

Section: [istreambuf.iterator.ops] Status: TC1 Submitter: Nathan Myers Opened: 1998-08-06 Last modified: 2017-12-01

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.