Optional support of the more standard conforming wchar_t/wstring interface when compiling on Windows #17
Labels
available on master
Fix is done on master branch, issue closed on next release
enhancement
New feature or request
Milestone
The C++17 standard demands for
std::filesystem::path
: "For Windows-based operating systems, value_type is wchar_t and preferred_separator is the backslash character (L’\\’
)." (30.10.8-2)While I still don't really like the decision, I will try to help those in need of a more std::filesystem conforming implementation for C++11/14 by implementing an option to build
ghc::filesystem
with
ghc::filesystem::path::value_type
aswchar_t
andghc::filesystem::path::string_type
asstd::basic_string<wchar_t>
on Windows.It might be a good idea to actually activate that option from the helper header files that try to detect
std::filesystem
and includeghc::filesystem
only when no standard version is available, as in these situations the resultingfs::path
should have the same interface.The text was updated successfully, but these errors were encountered: