This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.
Section: 188.8.131.52 [ifstream.members], 184.108.40.206 [ofstream.members] Status: NAD Editorial Submitter: Daniel Krügler Opened: 2007-02-20 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [ifstream.members].
View all issues with NAD Editorial status.
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).
In 220.127.116.11 [ifstream.members], remove footnote:
334) A successful open does not change the error state.
In 18.104.22.168 [ofstream.members], remove footnote:
335) A successful open does not change the error state.