You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But proper std::filesystem::path argument support would be nicer overall.
The README says that this is a C++11 library but moving forward and upgrading it to a C++17 library wouldn't hurt, would it?
The text was updated successfully, but these errors were encountered:
I agree. If I am not mistaken, under Windows this would also drastically simplify support of unicode characters in the file path.
Under C++17, a path can be created from an utf8-encoded string by using std::filesystem::path myPath = std::filesystem::u8path(u8"äßçdé.txt").
All that is needed then is one single line: CreateFileW(myPath.wstring().c_str(), ... // use unicode version of fct'CreateFileW' and pass a wide character string
A small improvement suggestion I have is that
mio
does not accept an object of typestd::filesystem::path
for mapped file paths:The
filesystem
library was added sinceC++17
.Of course, you could just write the following right now and be all set:
But proper
std::filesystem::path
argument support would be nicer overall.The
README
says that this is aC++11
library but moving forward and upgrading it to aC++17
library wouldn't hurt, would it?The text was updated successfully, but these errors were encountered: