This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofResolved status.
Section: 31.10.6[fstream]Status:ResolvedSubmitter: LWGOpened: 2009-06-28Last modified: 2018-07-02
Priority:Not Prioritized
View all issues withResolved status.
Discussion:
Addresses JP 73
Description
It is a problem from C++98,fstream cannot appoint a filename of wide character string(const wchar_t andconst wstring&).
Suggestion
Add interface corresponding towchar_t,char16_t andchar32_t.
[2009-07-01 Alisdair notes that this is a duplicate of454(i) which has morein-depth rationale.]
[2009-09-21 Daniel adds:]
I suggest to mark this issue as NAD Future with the intend tosolve the issue with a single file path c'tor template assuminga provision of a TR2 filesystem library.
[2009 Santa Cruz:]
[LEWG Kona 2017]
Recommend NAD: Needs a paper. Recommend providing overload that takes filesystem::path. Note that there are other similar issues elsewhere in the library, for example basic_filebuf. Handled by another issue.
Proposed resolution:
Resolved by the adoption of2676(i).