Closed phprus closed 3 years ago
On POSIX environment fs::path::value_type is char (https://isocpp.org/files/papers/P0218r1.html#value_type, https://en.cppreference.com/w/cpp/filesystem/path). Using a wchar_t string and converting from wchar_t to char is not required.
fs::path::value_type
char
wchar_t
Many thanks for the fix!
On POSIX environment
fs::path::value_type
ischar
(https://isocpp.org/files/papers/P0218r1.html#value_type, https://en.cppreference.com/w/cpp/filesystem/path). Using awchar_t
string and converting fromwchar_t
tochar
is not required.