问题
Is there a way to use boost::filesystem::path with unicode file paths? In particular I'd like to use it with std::wstring instead of std::string.
I'm working on the windows platform and I need to sometimes process a filepath that has a unicode char in it.
回答1:
Looking at the header file, I see a wpath that's templated with std::wstring.
来源:https://stackoverflow.com/questions/394564/boostfilesystempath-for-unicode-file-paths