Created on 2003-09-18.00:00:00 last changed 172 months ago
[ Post-Kona: Martin provided wording ]
Proposed resolution:
Add to [istream.manip], immediately before the first sentence of paragraph 1, the following text:
Behaves as an unformatted input function (as described in 27.6.1.3, paragraph 1), except that it does not count the number of characters extracted and does not affect the value returned by subsequent calls to is.gcount(). After constructing a sentry object...
According to 27.6.1.4, the ws() manipulator is not required to construct the sentry object. The manipulator is also not a member function so the text in 27.6.1, p1 through 4 that describes the exception policy for istream member functions does not apply. That seems inconsistent with the rest of extractors and all the other input functions (i.e., ws will not cause a tied stream to be flushed before extraction, it doesn't check the stream's exceptions or catch exceptions thrown during input, and it doesn't affect the stream's gcount).
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2546 |
2010-10-21 18:28:33 | admin | set | messages: + msg2545 |
2003-09-18 00:00:00 | admin | create |