Created on 1998-08-06.00:00:00 last changed 171 months ago
Proposed resolution:
In [istream.unformatted], paragraph 36, change "returns traits::eof()" to "returns -1".
The Effects clause for sync() (27.6.1.3, paragraph 36) says that it "calls rdbuf()->pubsync() and, if that function returns -1 ... returns traits::eof()."
That looks suspicious, because traits::eof() is of type traits::int_type while the return type of sync() is int.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg144 |
1998-08-06 00:00:00 | admin | create |