Title
streambuf inserter and extractor should be unformatted
Status
cd1
Section
[iostream.format]
Submitter
Martin Sebor

Created on 2006-02-25.00:00:00 last changed 164 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

I propose to change each operator to behave as unformatted input and output function, respectively. The changes below are relative to the working draft document number N1804.

Specifically, change 27.6.1.2.3, p14 as follows:

Effects: Behaves as an unformatted input function (as described in 27.6.1.2.127.6.1.3, paragraph 1).

And change 27.6.2.5.3, p7 as follows:

Effects: Behaves as an unformatted output function (as described in 27.6.2.5.127.6.2.6, paragraph 1).

Date: 2006-02-25.00:00:00

Issue 60 explicitly made the extractor and inserter operators that take a basic_streambuf* argument formatted input and output functions, respectively. I believe that's wrong, certainly in the case of the extractor, since formatted functions begin by extracting and discarding whitespace. The extractor should not discard any characters.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3077
2006-02-25 00:00:00admincreate