Title
Invalidated fstream footnotes in N2134
Status
nad editorial
Section
[ifstream.members] [ofstream.members]
Submitter
Daniel Krügler

Created on 2007-02-20.00:00:00 last changed 163 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [ifstream.members], remove footnote:

334) A successful open does not change the error state.

In [ofstream.members], remove footnote:

335) A successful open does not change the error state.

Date: 2007-02-20.00:00:00

The standard wording of N2134 has extended the 14882:2003(E) wording for the ifstream/ofstream/fstream open function to fix a long standing problem, see 409.

Now it's properly written as

"If that function does not return a null pointer calls clear(), otherwise calls setstate(failbit)[..]"

instead of the previous

"If that function returns a null pointer, calls setstate(failbit)[..]

While the old footnotes saying

"A successful open does not change the error state."

where correct and important, they are invalid now for ifstream and ofstream (because clear *does* indeed modify the error state) and should be removed (Interestingly fstream itself never had these, although they where needed for that time).

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3314
2007-02-20 00:00:00admincreate