This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Dup status.

105. fstream ctors argument types desired

Section: 31.10 [file.streams] Status: Dup Submitter: AFNOR Opened: 1998-10-07 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [file.streams].

View all issues with Dup status.

Duplicate of: 454

Discussion:

fstream ctors take a const char* instead of string.
fstream ctors can't take wchar_t

An extension to add a const wchar_t* to fstream would make the implementation non conforming.

Rationale:

This is not a defect in the Standard. It might be an interesting extension for the next Standard.