Title
istreambuf_iterator::equal not const
Status
tc1
Section
[istreambuf.iterator] [istreambuf.iterator.ops]
Submitter
Nathan Myers

Created on 1998-10-15.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [istreambuf.iterator] and also in [istreambuf.iterator::equal], replace:

bool equal(istreambuf_iterator& b);

with:

bool equal(const istreambuf_iterator& b) const;
Date: 1998-10-15.00:00:00

Member istreambuf_iterator<>::equal is not declared "const", yet [istreambuf.iterator::op==] says that operator==, which is const, calls it. This is contradictory.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg719
1998-10-15 00:00:00admincreate