This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 27.7 [iostream.format] Status: CD1 Submitter: Martin Sebor Opened: 2006-02-25 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [iostream.format].
View all issues with CD1 status.
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.
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 18.104.22.168.3, p14 as follows:
Effects: Behaves as aformatted input function (as described in
And change 22.214.171.124.3, p7 as follows:
Effects: Behaves as aformatted output function (as described in
[ Kona (2007): Proposed Disposition: Ready ]