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: 188.8.131.52 [ifstream.cons] Status: CD1 Submitter: Martin Sebor Opened: 2000-12-31 Last modified: 2017-02-03
Priority: Not Prioritized
View all issues with CD1 status.
184.108.40.206 [ifstream.cons], p2, 220.127.116.11 [ofstream.cons], p2, and 18.104.22.168 [fstream.cons], p2 say about the effects of each constructor:
... If that function returns a null pointer, calls setstate(failbit) (which may throw ios_base::failure).
The parenthetical note doesn't apply since the ctors cannot throw an exception due to the requirement in 22.214.171.124 [basic.ios.cons], p3 that exceptions() be initialized to ios_base::goodbit.
Strike the parenthetical note from the Effects clause in each of the paragraphs mentioned above.