Title
basic_streambuf semantics
Status
cd1
Section
[stringbuf.virtuals]
Submitter
Ray Lischner

Created on 2002-08-14.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

It's clear what we wanted to say, we just failed to say it. This fixes it.

Date: 2010-10-21.18:28:33

Proposed resolution:

Rewrite these conditions as:

(which & (ios_base::in|ios_base::out)) == ios_base::in

(which & (ios_base::in|ios_base::out)) == ios_base::out

(which & (ios_base::in|ios_base::out)) == (ios_base::in|ios_base::out) and way == either ios_base::beg or ios_base::end

Otherwise

Date: 2002-08-14.00:00:00

In Section [stringbuf.virtuals], Table 90, the implication is that the four conditions should be mutually exclusive, but they are not. The first two cases, as written, are subcases of the third.

As written, it is unclear what should be the result if cases 1 and 2 are both true, but case 3 is false.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2405
2010-10-21 18:28:33adminsetmessages: + msg2404
2002-08-14 00:00:00admincreate